CVE-2018-25088 Blue Yonder postgraas_server PostgreSQL Backend postgres_cluster_driver.py create_postgres_db sql injection
An attacker with permissions can execute arbitrary SQL commands via the create_postgres_db function in Blue Yonder postgraas_server.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2018-25088?
CVE-2018-25088 is a medium-severity SQL injection vulnerability in Blue Yonder postgraas_server, published on 18 Jul 2023. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
A vulnerability, which was classified as critical, was found in Blue Yonder postgraas_server up to 2.0.0b2. Affected is the function _create_pg_connection/create_postgres_db of the file postgraas_server/backends/postgres_cluster/postgres_cluster_driver.py of the component PostgreSQL Backend Handler. The manipulation leads to sql injection. Upgrading to version 2.0.0 is able to address this issue. The patch is identified as 7cd8d016edc74a78af0d81c948bfafbcc93c937c. It is recommended to upgrade the affected component. VDB-234246 is the identifier assigned to this vulnerability.
Weakness: CWE-89
Which versions are affected by CVE-2018-25088?
3 open source packages ship an affected version, including postgraas-server. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
postgraas-server PyPI | All versions | 2.0.0 |
postgraas-server PyPI | All versions | 2.0.0 |
postgraas-server PyPI | All versions | 2.0.0 |
Products include Blueyonder Postgraas Server.
How do I fix CVE-2018-25088?
Upgrade postgraas-server to 2.0.0 or later.
Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.
Is CVE-2018-25088 being exploited?
There is no known exploitation of CVE-2018-25088 in the wild and no public exploit code.
Sources
Also known as GHSA-vghm-8cjp-hjw6, PYSEC-2026-460.