Skip to content
Fencer Intel
medium 6.5

CVE-2014-8998 json

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…

published 11y ago modified 4mo ago also EUVD-2014-8824

cvss
6.5
version 2.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
35.9%
EPSS 35.9% chance of exploitation in 30 days, percentile 98%
public exploits
2
Metasploit and Exploit-DB

Summary

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.

Is CVE-2014-8998 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Timeline

  1. First public exploit (Metasploit exploit/multi/http/x7chat2_php_exec)
  2. Published

Exploit prediction

35.90% chance of exploitation in the next 30 days, higher than 98% of all scored CVEs (FIRST EPSS, 2026-11-09).

Exploits and checks

  • Metasploit exploit/multi/http/x7chat2_php_exec X7 Chat 2.0.5 lib/message.php preg_replace() PHP Code Execution metasploit exploit, excellent rank, 2014-10-27
  • EDB-35183 X7 Chat 2.0.5 - 'message.php' PHP Code Execution (Metasploit) remote, 2014-11-06
  • packetstormsecurity.com http://packetstormsecurity.com/files/128964/X7-Chat-2.0.5-lib-message.php-preg_replace-PHP-Code-Execution.html referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
NVD 2.0 6.5 AV:N/AC:L/Au:S/C:P/I:P/A:P

Classification

Weakness
  • CWE-94 Improper Control of Generation of Code

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.