CVE-2005-4891 SQL injection in Simple Machine Forum

Critical 9.8 Published Updated

Remote attackers can inject arbitrary SQL statements into Simple Machine Forum, potentially reading or modifying database contents.

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-2005-4891?

CVE-2005-4891 is a critical SQL injection vulnerability in Simple Machine Forum, published on 15 Jan 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Simple Machine Forum (SMF) versions 1.0.4 and earlier have an SQL injection vulnerability that allows remote attackers to inject arbitrary SQL statements.

Weakness: CWE-89

Which versions are affected by CVE-2005-4891?

It affects 1 product.

Products include Simplemachines Simple Machine Forum.

How do I fix CVE-2005-4891?

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

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

Public exploit code: 1 Exploit-DB entry.

Sources

Also known as GHSA-h7xj-hhqg-cp75.

Is CVE-2005-4891 in your software?

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

Check your SBOMs for free