CVE-2014-8998

medium
Published 2014-11-20 ยท Modified 2026-05-06
CVSS v3
โ€”
CVSS v4 NEW
โ€”
not yet in upstream
VIR risk
7.5

Description

lib/message.php in X7 Chat 2.0.0 through 2.0.5.1 allows remote authenticated users to execute arbitrary PHP code via a crafted HTTP header to index.php, which is processed by the preg_replace function with the eval switch.

Predictions

Exploit likelihood
20%
Patch ETA
โ€”

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

No mitigations published for this CVE yet.

The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ€” if you've already worked around this in production โ€” publish your fix to the community-verified tier.

โœš Propose a mitigation on Community โ†’ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here with source_tier=community-verified.

Exploits

Public proof-of-concept code below. AS-IS, for defenders and authorised testing only.

Exploit-DB

EDB-35183 remote php verified
Metasploit ยท 2014-11-06

X7 Chat 2.0.5 - 'message.php' PHP Code Execution (Metasploit)

Source code queued for fetch โ€” refresh in a moment.

Metasploit modules

X7 Chat 2.0.5 lib/message.php preg_replace() PHP Code Execution
Source fetch failed: fetch_error โ€” view the original via the link above.

Application impact

VendorProductVersionsFixed
x7chatx7_chat2.0.0
x7chatx7_chat2.0.1
x7chatx7_chat2.0.2
x7chatx7_chat2.0.3
x7chatx7_chat2.0.4
x7chatx7_chat2.0.4.1
x7chatx7_chat2.0.4.3
x7chatx7_chat2.0.4.4
x7chatx7_chat2.0.5
x7chatx7_chat2.0.5.1

References

CWEs

CWE-94

Community-verified mitigations for this CVE will appear above when contributors publish them.

Verify integrity in audit chain (admin only). AS-IS.