nday
CVE-2014-8998

lib/message.php in X7 Chat 2.0.0 through 2.0.5.1 allows remote authenticated users to execute…Title composed by nday; the CVE record has none.

A public PoC appeared 14 days before the CVE record was published. nday has no fix record for it yet; that does not mean no patch exists. Listed by 2 of 4 PoC sources: exploitdb and metasploit. Not in CISA KEV.

tags weakness typecode injection accessnetwork exploitationMetasploitExploit-DB
why these tags

nday derives these tags by fixed rules from the facts below; NVD, the CNA and other sources do not assign them. Vocabulary and rules: ~/tags.

code injection
CWE-94, stated by NVD's analysts
network
AV:N in AV:N/AC:L/Au:S/C:P/I:P/A:P (CVSS 2.0) from NVD's analysts
Metasploit
Metasploit modules exploit/multi/http/x7chat2_php_exec
Exploit-DB
Exploit-DB entries 35183

CVSS 2.0 has no user-interaction metric, so “no user interaction” and “remote, unauthenticated” are never assigned from a CVSS 2.0 vector.

stage
POC
disclosed
cvss
no score yet

Lifecycle

x axis UTC; dot = exact minute, wide bar = date only, hollow = unknown or inferred.
time unknown
DISdisclosed
2014-11-20T11:00Z
PATpatch
no record yet
ANAanalysis
no record yet
POCPoC
2014-11-06, date only
metasploit
ITWexploited
no record yet
KEVKEV
no record yet

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.

Original text of the CVE record (cvelist), shown as published.

Event log

2014-11-06date only, from source
+POCpublic PoC

Exploit-DB lists public exploit code “X7 Chat 2.0.5 - 'message.php' PHP Code Execution (Metasploit)” (EDB-35183). Verified by Exploit-DB.

src exploitdb 35183 · nday , bulk import · raw
{
  "id": 28819,
  "type": "poc_published",
  "source": "exploitdb",
  "url": "https://www.exploit-db.com/exploits/35183",
  "occurred_at": "2014-11-06T00:00:00Z",
  "observed_at": "2026-11-12T15:24:40.221206Z",
  "is_backfill": true,
  "dedupe_key": "35183",
  "detail": {
    "url": "https://www.exploit-db.com/exploits/35183",
    "file": "exploits/php/remote/35183.rb",
    "kind": "exploit",
    "tags": [
      "Metasploit Framework (MSF)"
    ],
    "type": "remote",
    "title": "X7 Chat 2.0.5 - 'message.php' PHP Code Execution (Metasploit)",
    "author": "Metasploit",
    "edb_id": 35183,
    "cve_ids": [
      "CVE-2014-8998"
    ],
    "platform": "php",
    "verified": true,
    "precision": "day",
    "confidence": "curated",
    "date_added": "2014-11-06",
    "date_updated": "2016-12-23",
    "date_published": "2014-11-06"
  }
}
+DISdisclosed

CVE record published by mitre.

src cvelist · nday , bulk import · raw
{
  "id": 70257,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2014-8998",
  "occurred_at": "2014-11-20T11:00:00Z",
  "observed_at": "2026-11-13T03:02:12.546712Z",
  "is_backfill": true,
  "dedupe_key": "",
  "detail": {
    "state": "PUBLISHED",
    "date_published": "2014-11-20T11:00:00.000Z",
    "assigner_short_name": "mitre"
  }
}
time unknownsource gave no time
+POCpublic PoC

Metasploit has module exploit/multi/http/x7chat2_php_exec (X7 Chat 2.0.5 lib/message.php preg_replace() PHP Code Execution). The source gives no release time for the module.

src metasploit exploit/multi/http/x7chat2_php_exec · nday , bulk import · raw
{
  "id": 51523,
  "type": "poc_published",
  "source": "metasploit",
  "url": "https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/x7chat2_php_exec.rb",
  "occurred_at": null,
  "observed_at": "2026-11-12T15:24:51.477477Z",
  "is_backfill": true,
  "dedupe_key": "exploit/multi/http/x7chat2_php_exec",
  "detail": {
    "url": "https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/x7chat2_php_exec.rb",
    "kind": "msf_module",
    "path": "/modules/exploits/multi/http/x7chat2_php_exec.rb",
    "rank": 600,
    "check": true,
    "title": "X7 Chat 2.0.5 lib/message.php preg_replace() PHP Code Execution",
    "cve_ids": [
      "CVE-2014-8998"
    ],
    "fullname": "exploit/multi/http/x7chat2_php_exec",
    "rank_name": "excellent",
    "confidence": "curated",
    "module_type": "exploit",
    "module_last_modified": "2026-04-22 11:58:04 +0000",
    "vuln_disclosure_date": "2014-10-27"
  }
}

Report an error

report an error or omission

Something on this page wrong or missing? Tell the editors; if they accept it, this page's revision log says so publicly. Upstream data is not changed.

Researcher discussion

0 researchers mentioned this in the last 7 days

Posts on X by researchers on nday's list that mention this CVE, shown as posted. nday does not check them.

nday has not collected any post on X by listed researchers that mentions this CVE.

Discussion

0 comments

No comments yet.