Cross-site Scripting in Apache Struts
When the Struts2 debug mode is turned on, under certain conditions an arbitrary script may be executed in the 'Problem Report' screen. Also if JSP files are exposed to be accessed directly it's possible to execute an arbitrary script.
It is generally not advisable to have debug mode switched on outside of the development environment. Debug mode should always be turned off in production setup. Also never expose JSPs files directly and hide them inside WEB-INF folder or define dedicated security constraints to block access to raw JSP files.
Struts >= 2.3.20 is not vulnerable to this attack. We recommend upgrading to Struts 2.3.20 or higher if turning off debug mode is not possible.
Betroffene Software
Klicken Sie auf eine Technologie, um alle zugehörigen Schwachstellen anzuzeigen.
| Plattform | Paket | Anfällige Versionen | Behoben in |
|---|---|---|---|
| Java / Kotlin (Maven) | org.apache.struts:struts2-core | < 2.3.20 | 2.3.20 |
Verweise
- https://nvd.nist.gov/vuln/detail/CVE-2015-2992
- https://cwiki.apache.org/confluence/display/WW/S2-025
- https://cwiki.apache.org/confluence/display/WW/Security
- https://github.com/apache/struts
- https://security.netapp.com/advisory/ntap-20200330-0001
- http://jvn.jp/en/jp/JVN88408929/index.html
- http://jvndb.jvn.jp/en/contents/2015/JVNDB-2015-000124.html
- http://www.securityfocus.com/bid/76624
- Schwäche (CWE)
CWE-79- Plattform
- Java / Kotlin (Maven)
- Paket
org.apache.struts:struts2-core- Veröffentlicht
- 24.05.2022
- Aktualisiert
- 11.10.2026 12:21
Quellen und Lizenzen
OSV / GitHub Advisory Database - GHSA-265r-pp83-gww7 - CC BY 4.0
Schwachstellenhistorie: org.apache.struts:struts2-core
Alle veröffentlichten Schwachstellen dieses Pakets (Java / Kotlin (Maven)), neueste zuerst. Zeigt, ob es ein einmaliger Ausrutscher ist oder ein Paket, das man im Auge behalten muss.
- Einträge insgesamt
- 60
- Erste → letzte
- 10.2018 01.2026
- Ohne Fix
- 0
- In Angriffen ausgenutzt
- 6
Verteilung nach Schweregrad
- Kritisch 14
- Hoch 25
- Mittel 20
- Niedrig 1
Veröffentlichungen pro Jahr
- 2018: 6
- 2019: 0
- 2020: 0
- 2021: 1
- 2022: 45
- 2023: 4
- 2024: 1
- 2025: 2
- 2026: 1
-
Cross-site Scripting in Apache Struts dieser Eintrag
Erkennen Sie Schwachstellen in Ihrer Anwendung
Mit der DockRay-Integration und aktivierter Softwareinventarisierung prüft DockRay gemeldete Komponentenversionen auf bekannte Schwachstellen und benachrichtigt Sie über bestätigte Treffer. Die Abdeckung hängt von der unterstützten Technologie und den verfügbaren Meldungen ab.