CVE-2008-5993: Directory Traversal in Barcode Generator 1D image.php
- Vendor
- Barcodephp
A directory traversal vulnerability exists in image.php in Barcode Generator 1D (barcodegen) version 2.0.0 and earlier. The vulnerability is due to insufficient sanitization of the 'code' parameter, which allows remote attackers to include and execute arbitrary local files by supplying directory traversal sequences (..).
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation allows remote attackers to execute arbitrary local files on the server, potentially leading to remote code execution, information disclosure, or further compromise of the affected system.
Mitigation
If you can’t patch tonight, do this now.
As an interim measure, restrict access to image.php, use web server configuration to block requests containing directory traversal patterns, and monitor logs for suspicious activity targeting the 'code' parameter.
Remediation
Patch, then assume compromise.
Upgrade to a version of Barcode Generator 1D that properly sanitizes user input in the 'code' parameter of image.php. Ensure that user-supplied input is validated and directory traversal sequences are filtered or rejected.
Exploits
No validated public exploits yet. Hidden: 1 not yet analyzed, such as Exploit-DB entries.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
Frequently asked questions
- Is CVE-2008-5993 exploited in the wild?
- As of Oct 16, 2026, Mallory has no reports of CVE-2008-5993 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2008-5993?
- As of Oct 16, 2026, Mallory has not confirmed a public exploit for CVE-2008-5993. 1 candidate exploit record is not yet analyzed.
- Is there a patch for CVE-2008-5993?
- Upgrade to a version of Barcode Generator 1D that properly sanitizes user input in the 'code' parameter of image.php. Ensure that user-supplied input is validated and directory traversal sequences are filtered or rejected.
- What products are affected by CVE-2008-5993?
- Barcodephp Barcodegen 1d.
- How severe is CVE-2008-5993?
- CVE-2008-5993 has a CVSS v2 score of 7.5 (High) and an EPSS score of 2.4% (84th percentile) as of Oct 16, 2026.
Recent activity
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.