Live threats
VulnFox

All CVEs / Phpocs

CVE-2008-4331Phpocs

High 7.5 No auth needed

Priority
60
CVSS 2.0
7.5
EPSS
—
Auth required
No
Published
Sep 30, 2008
Updated
Jun 16, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-22
Vector
AV:N/AC:L/Au:N/C:P/I:P/A:P

What happens

Directory traversal vulnerability in library/pagefunctions.inc.php in phpOCS 0.1 beta3 and earlier allows remote attackers to include and execute arbitrary local files via a .. (dot dot) in the act parameter to index.php.

Original NVD text.

What to do

  1. Apply the vendor's security update for Phpocs.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
phpocsphpocs≤ 0.1
phpocsphpocs0.1
phpocsphpocs0.1

Official sources

References

Links published by the sources. Open them with care.