CVE-2014-8998X7 Chat Code Injection
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.
Published Nov 20, 2014 · Updated May 6, 2026
Key Facts
Routine patching- CVE-2014-8998 is a medium-severity vulnerability (CVSS 6.5 v2) affecting X7 Chat (X7chat).
- It is not listed in any known-exploited vulnerabilities catalog. Public exploit code is available.
- EPSS estimates a 36% probability of exploitation in the next 30 days.
- No fixed version is listed yet; check the vendor advisory for mitigations.
- Brandefense priority: routine patching, as no exploitation is known and its severity is moderate or low.
Scores
CVSS v2
6.5
AV:N/AC:L/Au:S/C:P/I:P/A:P
EPSS (30-day exploit likelihood)
36%
Higher than 98.4% of all scored CVEs
Exploit maturity
Weaponized
ATLAS score
48/100
Publication score, see How it works
Exploitation Verdict
KEV listed
Not listed
Federal due date
None
No federal due date
Ransomware use
Not reported
Attributed actors
None named
Exploit & Defence Guidance
Exploit maturity
Weaponized
Public exploit code
4
Proof-of-concept links
In-the-wild evidence
0
Reports of active use
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.
Affected Products
15 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| X7 ChatX7chat | 2.0.0, 2.0.0-a1, 2.0.0-a2, 2.0.0-a3, 2.0.0-b1, 2.0.0-b2, 2.0.1-a1, 2.0.2 | n/a |
Timeline
Publicly disclosed
Nov 20, 2014
Last updated
May 6, 2026
Weakness Type
- CWE-94 Improper Control of Generation of Code ('Code Injection')
References
- exploitpacketstormsecurity.com · X7-Chat-2.0.5-lib-message.php-preg_replace-PHP-…
- exploitMSF x7chat2_php_exec.rb
- exploitExploitDB-35183
- exploit35183
- otherx7chat-message-code-exec(98513)
FAQ
Common Questions.
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.
Affected: X7 Chat (X7chat) versions 2.0.0, 2.0.0-a1, 2.0.0-a2, 2.0.0-a3, 2.0.0-b1, 2.0.0-b2, 2.0.1-a1, 2.0.2. The full list is in the CVE brief.
It is not listed in any known-exploited vulnerabilities catalog.
No, it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
Public exploit code is available.
No fixed version is listed yet; check the vendor advisory for mitigations.
Brandefense priority: routine patching, as no exploitation is known and its severity is moderate or low.
Is CVE-2014-8998 On Your Attack Surface?
Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.
Request A Demo