CVE-2007-6397 Path traversal in n/a

Medium 5.0 Published Updated

Remote attackers can read arbitrary PHP files and create arbitrary files via directory traversal in Flat PHP Board.

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-2007-6397?

CVE-2007-6397 is a medium-severity path traversal vulnerability in n/a, published on 17 Dec 2007. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Multiple directory traversal vulnerabilities in index.php in Flat PHP Board 1.2 and earlier allow remote attackers to (1) create arbitrary files via a .. (dot dot) in the username parameter when registering a user account, and (2) read arbitrary PHP files via a .. (dot dot) in (a) the topic parameter in a topic action or (b) the username parameter in a viewprofile action.

Weakness: CWE-22

Which versions are affected by CVE-2007-6397?

It affects 1 product.

Products include Flat Php Board.

How do I fix CVE-2007-6397?

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

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

Public exploit code: 1 Exploit-DB entry.

Sources

Also known as GHSA-2x6h-fcp3-g6qq.

Is CVE-2007-6397 in your software?

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

Check your SBOMs for free