GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') · Issue #5522 · pgadmin-org/pgadmin4

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') #5522

New issue
Copy link
New issue
Copy link
Closed
Closed
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')#5522
Copy link
Assignees
yogeshmahajan-1903
Labels
Bug
Milestone
6.16

Description

@smarfer
smarfer
opened on Nov 14, 2022
Issue body actions

The PGAdmin ERD Tool can open files on the server. The input is vulnerable to directory traversal. To abuse
this, the POST can be altered:

Steps to reproduce:

  1. Open Tools -> ERD Tool
  2. Choose Open File
  3. Change POST (/pgadmin4/sqleditor/load_file/ )

Screenshot 2022-11-14 at 11 44 41

Activity

  1. akshay-joshi
    added this to the 6.16 milestone on Nov 14, 2022
  2. akshay-joshi
    added this to Current Sprint (213)on Nov 14, 2022
  3. akshay-joshi
    added
    Bug
    EDB Sprint 129
    on Nov 14, 2022
  4. akshay-joshi
    self-assigned this
    on Nov 14, 2022
  5. akshay-joshi
    moved this to 🏗 In Progress in Current Sprint (213)on Nov 14, 2022
  6. akshay-joshi
    added a commit that references this issue on Nov 14, 2022

    Ensure that the load file paths are children of the storage directory. …

    c5e9aa6
  7. akshay-joshi
    moved this from 🏗 In Progress to In Testing in Current Sprint (213)on Nov 14, 2022
  8. akshay-joshi
    assigned
    yogeshmahajan-1903
    and unassigned
    akshay-joshi
    on Nov 14, 2022
  9. akshay-joshi
    added a commit that references this issue on Nov 15, 2022

    Ensure that the load file paths are children of the storage directory. …

    d19705d
  10. yogeshmahajan-1903 commented on Nov 17, 2022

    @yogeshmahajan-1903
    yogeshmahajan-1903
    on Nov 17, 2022
    Contributor
    More actions

    This is working fine.

  11. yogeshmahajan-1903
    closed this as completedon Nov 17, 2022
  12. yogeshmahajan-1903
    moved this from In Testing to ✅ Done in Current Sprint (213)on Nov 17, 2022
  13. akshay-joshi
    removed this from Current Sprint (213)on Nov 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @yogeshmahajan-1903
    yogeshmahajan-1903

Labels

Bug

Type

No type

Projects

No projects

    Milestone

    • 6.16

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.