nday
CVE-2012-0394

Apache Struts: code injection in DebuggingInterceptorTitle composed by nday; the CVE record has none.

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

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:M/Au:N/C:P/I:P/A:P (CVSS 2.0) from NVD's analysts
no authentication required
Au:N in AV:N/AC:M/Au:N/C:P/I:P/A:P (CVSS 2.0) from NVD's analysts
Metasploit
Metasploit modules exploit/multi/http/struts_dev_mode
Exploit-DB
Exploit-DB entries 18329, 31434
nuclei
nuclei templates CVE-2012-0394
Apache Struts
CPE names NVD's analysts give as vulnerable: a:apache:struts
open-source library / framework
CPE names NVD's analysts give as vulnerable: a:apache:strutsthe product type of Apache Struts in nday's product registry

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
2012-01-08T15:00Z
PATpatch
no record yet
ANAanalysis
no record yet
POCPoC
2012-01-06, date only +1 more
metasploit, nuclei
ITWexploited
no record yet
KEVKEV
no record yet

Summary

The DebuggingInterceptor component in Apache Struts before 2.3.1.1, when developer mode is used, allows remote attackers to execute arbitrary commands via unspecified vectors. NOTE: the vendor characterizes this behavior as not "a security vulnerability itself.

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

Event log

2012-01-06date only, from source
+POCpublic PoC

Exploit-DB lists public exploit code “Apache Struts 2 < 2.3.1 - Multiple Vulnerabilities” (EDB-18329). Verified by Exploit-DB.

src exploitdb 18329 · nday , bulk import · raw
{
  "id": 27607,
  "type": "poc_published",
  "source": "exploitdb",
  "url": "https://www.exploit-db.com/exploits/18329",
  "occurred_at": "2012-01-06T00:00:00Z",
  "observed_at": "2026-11-12T15:24:40.221206Z",
  "is_backfill": true,
  "dedupe_key": "18329",
  "detail": {
    "url": "https://www.exploit-db.com/exploits/18329",
    "file": "exploits/multiple/webapps/18329.txt",
    "kind": "exploit",
    "tags": [],
    "type": "webapps",
    "title": "Apache Struts 2 < 2.3.1 - Multiple Vulnerabilities",
    "author": "SEC Consult",
    "edb_id": 18329,
    "cve_ids": [
      "CVE-2012-0394",
      "CVE-2012-0393",
      "CVE-2012-0392",
      "CVE-2012-0391"
    ],
    "platform": "multiple",
    "verified": true,
    "precision": "day",
    "confidence": "curated",
    "date_added": "2012-01-06",
    "date_updated": "2017-03-10",
    "date_published": "2012-01-06"
  }
}
+DISdisclosed

CVE record published by mitre.

src cvelist · nday , bulk import · raw
{
  "id": 124823,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2012-0394",
  "occurred_at": "2012-01-08T15:00:00Z",
  "observed_at": "2026-11-13T05:36:07.553442Z",
  "is_backfill": true,
  "dedupe_key": "",
  "detail": {
    "state": "PUBLISHED",
    "date_published": "2012-01-08T15:00:00.000Z",
    "assigner_short_name": "mitre"
  }
}
2014-02-05date only, from source
+POCpublic PoC

Exploit-DB lists public exploit code “Apache Struts - Developer Mode OGNL Execution (Metasploit)” (EDB-31434). Verified by Exploit-DB.

src exploitdb 31434 · nday , bulk import · raw
{
  "id": 22626,
  "type": "poc_published",
  "source": "exploitdb",
  "url": "https://www.exploit-db.com/exploits/31434",
  "occurred_at": "2014-02-05T00:00:00Z",
  "observed_at": "2026-11-12T15:24:40.221206Z",
  "is_backfill": true,
  "dedupe_key": "31434",
  "detail": {
    "url": "https://www.exploit-db.com/exploits/31434",
    "file": "exploits/java/remote/31434.rb",
    "kind": "exploit",
    "tags": [
      "Metasploit Framework (MSF)"
    ],
    "type": "remote",
    "title": "Apache Struts - Developer Mode OGNL Execution (Metasploit)",
    "author": "Metasploit",
    "edb_id": 31434,
    "cve_ids": [
      "CVE-2012-0394"
    ],
    "platform": "java",
    "verified": true,
    "precision": "day",
    "confidence": "curated",
    "date_added": "2014-02-05",
    "date_updated": "2014-02-05",
    "date_published": "2014-02-05"
  }
}
time unknownsource gave no time
+POCpublic PoC

Metasploit has module exploit/multi/http/struts_dev_mode (Apache Struts 2 Developer Mode OGNL Execution). The source gives no release time for the module.

src metasploit exploit/multi/http/struts_dev_mode · nday , bulk import · raw
{
  "id": 51421,
  "type": "poc_published",
  "source": "metasploit",
  "url": "https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/struts_dev_mode.rb",
  "occurred_at": null,
  "observed_at": "2026-11-12T15:24:51.477477Z",
  "is_backfill": true,
  "dedupe_key": "exploit/multi/http/struts_dev_mode",
  "detail": {
    "url": "https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/struts_dev_mode.rb",
    "kind": "msf_module",
    "path": "/modules/exploits/multi/http/struts_dev_mode.rb",
    "rank": 600,
    "check": true,
    "title": "Apache Struts 2 Developer Mode OGNL Execution",
    "cve_ids": [
      "CVE-2012-0394"
    ],
    "fullname": "exploit/multi/http/struts_dev_mode",
    "rank_name": "excellent",
    "confidence": "curated",
    "module_type": "exploit",
    "module_last_modified": "2026-04-22 11:58:04 +0000",
    "vuln_disclosure_date": "2012-01-06"
  }
}
time unknownsource gave no time
+POCpublic PoC

Nuclei has detection template CVE-2012-0394 (Apache Struts <2.3.1.1 - Remote Code Execution). The source gives no release time for the template.

src nuclei · nday , bulk import · raw
{
  "id": 53250,
  "type": "poc_published",
  "source": "nuclei",
  "url": "https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2012/CVE-2012-0394.yaml",
  "occurred_at": null,
  "observed_at": "2026-11-12T15:24:53.738369Z",
  "is_backfill": true,
  "dedupe_key": "CVE-2012-0394",
  "detail": {
    "url": "https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2012/CVE-2012-0394.yaml",
    "kind": "detection_template",
    "title": "Apache Struts <2.3.1.1 - Remote Code Execution",
    "severity": "medium",
    "confidence": "curated",
    "cvss_score": "6.8",
    "template_id": "CVE-2012-0394",
    "template_path": "http/cves/2012/CVE-2012-0394.yaml"
  }
}

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.