Vulnerability Details : CVE-2014-8998
Public exploit exists!
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.
Products affected by CVE-2014-8998
- cpe:2.3:a:x7chat:x7_chat:2.0.0:a1:*:*:*:*:*:*
- cpe:2.3:a:x7chat:x7_chat:2.0.0:a2:*:*:*:*:*:*
- cpe:2.3:a:x7chat:x7_chat:2.0.0:*:*:*:*:*:*:*
- cpe:2.3:a:x7chat:x7_chat:2.0.2:*:*:*:*:*:*:*
- cpe:2.3:a:x7chat:x7_chat:2.0.3:*:*:*:*:*:*:*
- cpe:2.3:a:x7chat:x7_chat:2.0.0:b2:*:*:*:*:*:*
- cpe:2.3:a:x7chat:x7_chat:2.0.1:a1:*:*:*:*:*:*
- cpe:2.3:a:x7chat:x7_chat:2.0.5:*:*:*:*:*:*:*
- cpe:2.3:a:x7chat:x7_chat:2.0.5.1:*:*:*:*:*:*:*
- cpe:2.3:a:x7chat:x7_chat:2.0.0:a3:*:*:*:*:*:*
- cpe:2.3:a:x7chat:x7_chat:2.0.0:b1:*:*:*:*:*:*
- cpe:2.3:a:x7chat:x7_chat:2.0.4.3:*:*:*:*:*:*:*
- cpe:2.3:a:x7chat:x7_chat:2.0.4.4:*:*:*:*:*:*:*
- cpe:2.3:a:x7chat:x7_chat:2.0.4:*:*:*:*:*:*:*
- cpe:2.3:a:x7chat:x7_chat:2.0.4.1:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2014-8998
95.68%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 99 %
Percentile, the proportion of vulnerabilities that are scored at or less
Metasploit modules for CVE-2014-8998
-
X7 Chat 2.0.5 lib/message.php preg_replace() PHP Code Execution
Disclosure Date: 2014-10-27First seen: 2020-04-26exploit/multi/http/x7chat2_php_execThis module exploits a post-auth vulnerability found in X7 Chat versions 2.0.0 up to 2.0.5.1. The vulnerable code exists on lib/message.php, which uses preg_replace() function with the /e modifier. This allows a remote authenticated attacker to execute arbitrary PHP
CVSS scores for CVE-2014-8998
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
6.5
|
MEDIUM | AV:N/AC:L/Au:S/C:P/I:P/A:P |
8.0
|
6.4
|
NIST |
CWE ids for CVE-2014-8998
-
The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.Assigned by: nvd@nist.gov (Primary)
References for CVE-2014-8998
-
https://exchange.xforce.ibmcloud.com/vulnerabilities/98513
X7 Chat lib/message.php code execution CVE-2014-8998 Vulnerability Report
-
http://packetstormsecurity.com/files/128964/X7-Chat-2.0.5-lib-message.php-preg_replace-PHP-Code-Execution.html
X7 Chat 2.0.5 lib/message.php preg_replace() PHP Code Execution ≈ Packet StormExploit
-
http://www.securityfocus.com/bid/71014
X7 Chat 'lib/message.php' Arbitrary Code Execution Vulnerability
-
http://www.exploit-db.com/exploits/35183
X7 Chat 2.0.5 - 'message.php' PHP Code Execution (Metasploit) - PHP remote ExploitExploit
Jump to