mirror of
https://github.com/0xMarcio/cve.git
synced 2025-06-01 11:10:36 +00:00
1.7 KiB
1.7 KiB
CVE-2022-21724
Description
pgjdbc is the offical PostgreSQL JDBC Driver. A security hole was found in the jdbc driver for postgresql database while doing security research. The system using the postgresql library will be attacked when attacker control the jdbc url or properties. pgjdbc instantiates plugin instances based on class names provided via authenticationPluginClassName
, sslhostnameverifier
, socketFactory
, sslfactory
, sslpasswordcallback
connection properties. However, the driver did not verify if the class implements the expected interface before instantiating the class. This can lead to code execution loaded via arbitrary classes. Users using plugins are advised to upgrade. There are no known workarounds for this issue.
POC
Reference
No PoCs from references.
Github
- https://github.com/43622283/cloud-security-guides
- https://github.com/ADP-Dynatrace/dt-appsec-powerup
- https://github.com/ARPSyndicate/cvemon
- https://github.com/CTF-Archives/2023-longjiancup
- https://github.com/CTF-Archives/longjiancup2023
- https://github.com/SugarP1g/Learning-Program-analysis
- https://github.com/VeerMuchandi/s3c-springboot-demo
- https://github.com/Whoopsunix/JavaRce
- https://github.com/YDCloudSecurity/cloud-security-guides
- https://github.com/clj-holmes/clj-watson
- https://github.com/fra-dln/DevSecOps-playground-Actions
- https://github.com/luelueking/Deserial_Sink_With_JDBC
- https://github.com/tanjiti/sec_profile