CVE-2011-3923
Struts ParameterInterceptor vulnerability allows remote command execution
Öffentlicher Exploit-Code
Für diese Schwachstelle wurde funktionierender Exploit- oder Proof-of-Concept-Code veröffentlicht. Betrachte ungepatchte Systeme als gefährdet.
- Apache Struts - 'ParametersInterceptor' Remote Code Execution (Metasploit)2013-03-22 · remote · multiple · Verifiziert
Auswirkung
Regular expression in ParametersInterceptor matches `top['foo'](0)` as a valid expression, which OGNL treats as `(top['foo'])(0)` and evaluates the value of 'foo' action parameter as an OGNL expression. This lets malicious users put arbitrary OGNL statements into any String variable exposed by an action and have it evaluated as an OGNL expression and since OGNL statement is in HTTP parameter value attacker can use blacklisted characters (e.g. #) to disable method execution and execute arbitrary methods, bypassing the ParametersInterceptor and OGNL library protections.
Ein Angreifer kann die Lücke über das Netzwerk ausnutzen, ohne Anmeldung, ohne Zutun eines Nutzers. Bei Erfolg: hohes Risiko, dass Daten ausgelesen werden, hohes Risiko, dass Daten oder Systeme verändert werden, hohes Risiko für Ausfälle.
Betroffene Pakete
| Ökosystem | Paket | Betroffen | Behoben in |
|---|---|---|---|
| maven | org.apache.struts:struts2-core | >= 2.0.0, < 2.3.1.2 | 2.3.1.2 |
Betroffene Produkte
| Hersteller | Produkt | Betroffene Versionen |
|---|---|---|
| Apache | Struts | ab 2.0.0 vor 2.3.1.2 |
| Red Hat | Jboss Enterprise Web Server | Version 1.0.0 |
Schwachstellenklasse
Referenzen
- NVD-Eintrag
- CVE.org-Eintrag
- GitHub-Advisory
- http://seclists.org/fulldisclosure/2014/Jul/38
- http://www.exploit-db.com/exploits/24874
- http://www.securityfocus.com/bid/51628
- http://www.securitytracker.com/id?1026575
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2011-3923
- https://exchange.xforce.ibmcloud.com/vulnerabilities/72585
- https://security-tracker.debian.org/tracker/CVE-2011-3923
- https://github.com/advisories/GHSA-j68f-8h6p-9h5q
- https://nvd.nist.gov/vuln/detail/CVE-2011-3923
- http://struts.apache.org/development/2.x/docs/s2-009.html
- https://web.archive.org/web/20140725074137/http://seclists.org/fulldisclosure/2014/Jul/38
- http://blog.o0o.nu/2012/01/cve-2011-3923-yet-another-struts2.html