CVE-2009-5068 Path traversal in SMF

High 7.2 Published Updated

Co-admins can read arbitrary files, including database credentials, leading to privilege escalation in shared SMF deployments.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2009-5068?

CVE-2009-5068 is a high-severity path traversal vulnerability in SMF, published on 15 Jan 2020. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

There is a file disclosure vulnerability in SMF (Simple Machines Forum) affecting versions through v2.0.3. On some configurations a SMF deployment is shared by several "co-admins" that are not trusted beyond the SMF deployment. This vulnerability allows them to read arbitrary files on the filesystem and therefore gain new privileges by reading the settings.php with the database passwords.

Weakness: CWE-312

Which versions are affected by CVE-2009-5068?

It affects 1 product.

Products include Simplemachines Simple Machines Forum.

How do I fix CVE-2009-5068?

No fix has been published for CVE-2009-5068 yet. Limit exposure of the affected software until one is available.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2009-5068 being exploited?

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

Public exploit code: 1 Exploit-DB entry.

Sources

Also known as GHSA-hw49-57p9-2mh2.

Is CVE-2009-5068 in your software?

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

Check your SBOMs for free