{"id":"CVE-2014-8998","published":"2014-11-20T11:00:00Z","modified":"2024-08-06T13:33:13Z","title":"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…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.359,"percentile":0.98506,"provenance":"source"},"cwes":[],"references":[{"url":"http://packetstormsecurity.com/files/128964/X7-Chat-2.0.5-lib-message.php-preg_replace-PHP-Code-Execution.html","tags":["x_refsource_MISC"]},{"url":"http://www.exploit-db.com/exploits/35183","tags":["exploit","x_refsource_EXPLOIT-DB"]},{"url":"http://www.securityfocus.com/bid/71014","tags":["vdb-entry","x_refsource_BID"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/98513","tags":["vdb-entry","x_refsource_XF"]}],"priority":{"score":24.7,"factors":[{"name":"EPSS percentile","points":19.7},{"name":"Public exploit code","points":5.0}]},"exploitSources":{"exploitdb":{"count":1,"earliest":"2014-11-06"},"metasploit":[{"name":"X7 Chat 2.0.5 lib/message.php preg_replace() PHP Code Execution","module":"exploit/multi/http/x7chat2_php_exec","type":"exploit","disclosureDate":"2014-10-27","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/x7chat2_php_exec.rb"}],"first":{"date":"2014-10-27","source":"Metasploit","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/x7chat2_php_exec.rb"},"provenance":"source"},"summary":{"text":"The flaw lies in lib/message.php of X7 Chat, affecting versions 2.0.0 through 2.0.5.1, where a crafted HTTP header sent to index.php is passed to preg_replace with the eval switch. An attacker who is a remote authenticated user can exploit this by sending such a header to execute arbitrary PHP code.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:43:18Z"},"euvd":{"id":"EUVD-2014-8824","exploited":false,"provenance":"source"},"exploits":[{"id":35183,"url":"https://www.exploit-db.com/exploits/35183","title":"X7 Chat 2.0.5 - 'message.php' PHP Code Execution (Metasploit)","date":"2014-11-06","verified":true,"provenance":"source"}],"exploitRefs":["http://www.exploit-db.com/exploits/35183","http://packetstormsecurity.com/files/128964/X7-Chat-2.0.5-lib-message.php-preg_replace-PHP-Code-Execution.html"]}