8.8
CWE
78
Advisory Published
CVE Published
Advisory Published
Updated

CVE-2023-5002: Pgadmin4: remote code execution by an authenticated user

First published: Fri Sep 15 2023(Updated: )

A flaw was found in pgAdmin. This issue occurs when the pgAdmin server HTTP API validates the path a user selects to external PostgreSQL utilities such as pg_dump and pg_restore. Versions of pgAdmin prior to 7.6 failed to properly control the server code executed on this API, allowing an authenticated user to run arbitrary commands on the server.

Credit: patrick@puiterwijk.org patrick@puiterwijk.org patrick@puiterwijk.org

Affected SoftwareAffected VersionHow to fix
pip/pgadmin4<7.7
7.7
Pgadmin Pgadmin<7.7
Fedoraproject Fedora=37
Fedoraproject Fedora=38
redhat/pgadmin4<7.7
7.7
<7.7
=37
=38

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the vulnerability ID for this flaw?

    The vulnerability ID for this flaw is CVE-2023-5002.

  • What is the severity level of CVE-2023-5002?

    CVE-2023-5002 has a severity level of high.

  • Which versions of pgAdmin are affected by this vulnerability?

    Versions of pgAdmin prior to 7.7 are affected by this vulnerability.

  • What is the risk associated with this vulnerability?

    The risk associated with CVE-2023-5002 is rated at 8.8 (high).

  • Are there any references or additional resources related to this vulnerability?

    Yes, you can find more information about CVE-2023-5002 in the following references: [NVD](https://nvd.nist.gov/vuln/detail/CVE-2023-5002), [GitHub Issue](https://github.com/pgadmin-org/pgadmin4/issues/6763), [Red Hat Bugzilla](https://bugzilla.redhat.com/show_bug.cgi?id=2239164)

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203