CVE-2008-5418: Directory Traversal in PunPortal for PunBB (login.php)
- Vendor
- Justin Roy
A directory traversal vulnerability exists in login.php in the PunPortal module before version 2.0 for PunBB. The vulnerability is due to insufficient sanitization of the pun_user[language] 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 code or commands on the server with the privileges of the web server process, potentially leading to full compromise of the affected system.
Mitigation
If you can’t patch tonight, do this now.
As an interim measure, restrict access to login.php, and implement input validation to block directory traversal sequences in user-supplied parameters. Additionally, configure the web server to limit the files that can be included and executed.
Remediation
Patch, then assume compromise.
Upgrade the PunPortal module to version 2.0 or later, where this vulnerability has been addressed. Ensure that all user-supplied input is properly sanitized and validated before being used in file inclusion operations.
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.
References
Frequently asked questions
- Is CVE-2008-5418 exploited in the wild?
- As of Oct 16, 2026, Mallory has no reports of CVE-2008-5418 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2008-5418?
- Yes. As of Oct 16, 2026, Mallory has reports of a public exploit for CVE-2008-5418.
- Is there a patch for CVE-2008-5418?
- Upgrade the PunPortal module to version 2.0 or later, where this vulnerability has been addressed. Ensure that all user-supplied input is properly sanitized and validated before being used in file inclusion operations.
- What products are affected by CVE-2008-5418?
- Justin Roy Punportal Module.
- How severe is CVE-2008-5418?
- CVE-2008-5418 has a CVSS v2 score of 5.1 (Medium) and an EPSS score of 1.9% (80th percentile) as of Oct 16, 2026.
Recent activity
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.