HOMEVULNERABILITIESCVE-2007-2985
CRITICALPOC

CVE-2007-2985

CWE-264Published: June 1, 2007· Updated: Jun 16, 2026

10.0
CVSS v3.1

Official Description

Pheap 2.0 allows remote attackers to bypass authentication by setting a pheap_login cookie value to the administrator's username, which can be used to (1) obtain sensitive information, including the administrator password, via settings.php or (2) upload and execute arbitrary PHP code via an update_doc action in edit.php.

NVD Source

Technical Analysis

CVE-2007-2985 can be exploited remotely over the network without requiring physical or adjacent access, significantly expanding the attack surface for threat actors.

Exploitation requires some privileges, which limits the exposure to scenarios where an attacker has already gained initial access.

A proof-of-concept (PoC) exploit exists for CVE-2007-2985. While not yet confirmed in active campaigns, the availability of PoC code increases exploitation risk substantially.

CVSS v3.1 Vector Breakdown

Exploitability
Attack VectorNetwork
Attack ComplexityLow
Privileges Req.
User Interaction
Scope
Impact
ConfidentialityC
IntegrityC
AvailabilityC
AV:N/AC:L/Au:N/C:C/I:C/A:C

Affected Vendors & Products

pheap1 product(s)
pheap
Source: NVD CPE · 1 total CPE entries

Exploit & PoC Resources

POC AVAILABLEProof-of-concept code exists
External links open in a new tab. Always verify in a controlled environment before use.

Official Patches & Advisories

All References (8)

Quick Facts

CVE IDCVE-2007-2985
CVSS Score10.0 / 10
SeverityCRITICAL
WeaknessCWE-264
CISA KEVNo
ExploitPOC
Affected1 vendor(s)
PublishedJun 1, 2007

Related CVEs (CWE-264)

Recommended Actions

  • Apply vendor patches immediately
  • Monitor CVE-2007-2985 in threat intel feeds
  • Review IDS/IPS signatures for exploitation attempts
Data sourced from NVD (NIST), CISA KEV, and EPSS (FIRST). Analysis generated by CTIWATCH.COM. CVE data is provided under the NVD usage policy.