NetSight
kritisch9.8Öffentlicher Exploit-Code

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.

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

ÖkosystemPaketBetroffenBehoben in
mavenorg.apache.struts:struts2-core>= 2.0.0, < 2.3.1.22.3.1.2

Betroffene Produkte

HerstellerProduktBetroffene Versionen
ApacheStruts
ab 2.0.0 vor 2.3.1.2
Red HatJboss Enterprise Web Server
Version 1.0.0

Schwachstellenklasse

Referenzen