CVE-2023-52096 SQL injection in n/a
Attackers can trigger SQL exceptions and corrupt transaction records by sending malformed OCPP timestamps to applications using the SteVe Community ocpp-jaxb library.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2023-52096?
CVE-2023-52096 is a high-severity SQL injection vulnerability in n/a, published on 26 Dec 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
SteVe Community ocpp-jaxb before 0.0.8 generates invalid timestamps such as ones with month 00 in certain situations (such as when an application receives a StartTransaction Open Charge Point Protocol message with a timestamp parameter of 1000000). This may lead to a SQL exception in applications, and may undermine the integrity of transaction records.
Weakness: CWE-89
Which versions are affected by CVE-2023-52096?
It affects 1 product.
Products include Steve-Community Ocpp-Jaxb.
How do I fix CVE-2023-52096?
No fix has been published for CVE-2023-52096 yet. Limit exposure of the affected software until one is available.
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-2023-52096 being exploited?
There is no known exploitation of CVE-2023-52096 in the wild and no public exploit code.
Sources
Also known as GHSA-5798-fpq9-x4vx.