CVE-2004-1148 Path traversal in n/a
Remote attackers can read arbitrary files via the sql_localfile parameter in phpMyAdmin when UploadDir is enabled.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2004-1148?
CVE-2004-1148 is a medium-severity path traversal vulnerability in Phpmyadmin Phpmyadmin, published on 15 Dec 2004. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
phpMyAdmin before 2.6.1, when configured with UploadDir functionality, allows remote attackers to read arbitrary files via the sql_localfile parameter.
Which versions are affected by CVE-2004-1148?
It affects 1 product.
Products include Phpmyadmin Phpmyadmin.
How do I fix CVE-2004-1148?
Upgrade to a fixed version.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2004-1148 being exploited?
There is no known exploitation of CVE-2004-1148 in the wild and no public exploit code.
Other vulnerabilities in Phpmyadmin Phpmyadmin
Sources
Also known as DEBIAN-CVE-2004-1148, GHSA-9xhj-74j8-9gxq.