CVE-2021-47704 OpenBMCS SQL Injection via obix_test.php

High 8.7 Published Updated

Authenticated attackers can inject SQL via the debug test script to extract database information from OpenBMCS.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2021-47704?

CVE-2021-47704 is a high-severity SQL injection vulnerability in OpenBMCS, published on 9 Dec 2025. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

OpenBMCS 2.4 contains an SQL injection vulnerability that allows authenticated attackers to manipulate database queries by injecting arbitrary SQL code. Attackers can send GET requests to /debug/obix_test.php with malicious 'id' values to extract database information.

Weakness: CWE-89

Which versions are affected by CVE-2021-47704?

It affects 1 product.

Products include Openbmcs Openbmcs.

How do I fix CVE-2021-47704?

No fix has been published for CVE-2021-47704 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-2021-47704 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2021-47704 exists.

Sources

Also known as GHSA-j96r-4w2q-c7qw.

Is CVE-2021-47704 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free