CVE-2014-8998 Code injection in n/a
Authenticated attackers can execute arbitrary PHP code in X7 Chat by sending a crafted HTTP header to index.php.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2014-8998?
CVE-2014-8998 is a medium-severity code injection vulnerability in n/a, published on 20 Nov 2014. Any signed-in user can exploit it over the network, with no action from the victim.
Official 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.
Weakness: CWE-94
Which versions are affected by CVE-2014-8998?
It affects 1 product.
Products include X7chat X7 Chat.
How do I fix CVE-2014-8998?
No fix has been published for CVE-2014-8998 yet. Limit exposure of the affected software until one is available.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2014-8998 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2014-8998 exists.
Public exploit code: 1 Metasploit module and 1 Exploit-DB entry.
Sources
Also known as GHSA-f5vg-hj9x-r48m.