Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Information Disclosure Through EXPLAIN Feature #439

Closed
ankane opened this issue Jan 5, 2023 · 0 comments
Closed

Information Disclosure Through EXPLAIN Feature #439

ankane opened this issue Jan 5, 2023 · 0 comments

Comments

@ankane
Copy link
Owner

ankane commented Jan 5, 2023

PgHero can expose data to users through the EXPLAIN feature. This vulnerability has been assigned the CVE identifier CVE-2023-22626.

Versions Affected: 0.1.1 to 3.0.1
Fixed Versions: 3.1.0

Impact

A malicious PgHero user can use the EXPLAIN functionality to extract data from the database. With certain inputs, a user can get the results of a query to appear in an error message. If the PgHero database user has superuser privileges (not recommended), the user can use file access functions to read files on the database server.

Mitigation

All users running an affected version should upgrade when possible.

See #438 for related EXPLAIN security considerations and changes in this release.

Credit

Thanks to Seryun Ham of https://horangi.com (blog) for reporting this.

Repository owner locked and limited conversation to collaborators Jan 5, 2023
@ankane ankane closed this as completed Jan 11, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant