Hoch

Code injection in Apache Struts

  • Veröffentlicht: 13.05.2022
  • Aktualisiert: 11.10.2026 11:21

A vulnerability introduced by forcing parameter inclusion in the URL and Anchor Tag allows remote command execution, session access and manipulation and XSS attacks.

both the s:url and s:a tag provide an includeParams attribute.

The main scope of that attribute is to understand whether includes http request parameter or not.

The allowed values of includeParams are:

none - include no parameters in the URL (default)
get - include only GET parameters in the URL
all - include both GET and POST parameters in the URL

A request that included a specially crafted request parameter could be used to inject arbitrary OGNL code into the stack, afterward used as request parameter of an URL or A tag , which will cause a further evaluation.

The second evaluation happens when the URL/A tag tries to resolve every parameters present in the original request. This lets malicious users put arbitrary OGNL statements into any request parameter (not necessarily managed by the code) and have it evaluated as an OGNL expression to enable method execution and execute arbitrary methods, bypassing Struts and OGNL library protections.

The issue was originally addressed by Struts 2.3.14.1 and Security Announcement S2-013. However, the solution introduced with 2.3.14.1 did not address all possible attack vectors, such that every version of Struts 2 before 2.3.14.2 is still vulnerable to such attacks.

Betroffene Software

Klicken Sie auf eine Technologie, um alle zugehörigen Schwachstellen anzuzeigen.

PlattformPaketAnfällige VersionenBehoben in
Java / Kotlin (Maven) org.apache.struts:struts2-core >= 2.0.0, < 2.3.14.2 2.3.14.2
Java / Kotlin (Maven) org.apache.struts.xwork:xwork-core >= 2.0.0, < 2.3.14.2 2.3.14.2

Verweise

CVSS-Wert 8.1/10
CVSS-Vektor
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Schwäche (CWE)
CWE-94
Plattform
Java / Kotlin (Maven)
Paket
org.apache.struts:struts2-core, org.apache.struts.xwork:xwork-core
Veröffentlicht
13.05.2022
Aktualisiert
11.10.2026 11:21

Quellen und Lizenzen

OSV / GitHub Advisory Database - GHSA-7ghm-rpc7-p7g5 - 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.

Alle (60) im Archiv
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

  1. 2018: 6
  2. 2019: 0
  3. 2020: 0
  4. 2021: 1
  5. 2022: 45
  6. 2023: 4
  7. 2024: 1
  8. 2025: 2
  9. 2026: 1
Schweregrad:
  1. Hoch · 8.1 CVE-2025-68493 >= 2.0.0, <= 2.3.37, >= 2.5.0, <= 2.5.33, >= 6.0.0, < 6.1.1 6.1.1
  2. Hoch · 8.2 CVE-2025-66675 >= 2.0.0, < 6.8.0, >= 7.0.0, < 7.1.1 6.8.0, 7.1.1
  3. Hoch · 7.5 CVE-2025-64775 >= 6.0.0, < 6.8.0, >= 7.0.0, < 7.1.1, >= 2.0.0, <= 2.3.37, >= 2.5.0, <= 2.5.33 6.8.0, 7.1.1
  4. Kritisch · 9.8 CVE-2024-53677 < 6.4.0 6.4.0
  5. Kritisch · 9.8 CVE-2023-50164 >= 2.0.0, < 2.5.33, >= 6.0.0, < 6.3.0.2 2.5.33, 6.3.0.2
  6. Hoch · 7.5 CVE-2023-41835 >= 6.2.0, < 6.3.0.1, >= 6.0.0, < 6.1.2.2, < 2.5.32 6.3.0.1, 6.1.2.2, 2.5.32
  7. Hoch · 7.5 CVE-2023-34396 < 2.5.31, >= 6.0.0, < 6.1.2.1 2.5.31, 6.1.2.1
  8. Hoch · 7.5 CVE-2019-0233 >= 2.0.0, < 2.5.22 2.5.22
  9. Kritisch · 9.8 CVE-2016-3082 < 2.3.20.3, >= 2.3.24, < 2.3.24.3, >= 2.3.28, < 2.3.28.1 2.3.20.3, 2.3.24.3, 2.3.28.1
  10. Hoch CVE-2013-4316 >= 2.0.0, < 2.3.15.2 2.3.15.2
  11. Kritisch · 9.8 CVE-2016-4436 >= 2.0.0, < 2.3.29, >= 2.5-BETA1, < 2.5.1 2.3.29, 2.5.1
  12. Hoch CVE-2015-1831 >= 2.0.0, < 2.3.20.1 2.3.20.1
  13. Hoch · 7.5 CVE-2015-5209 < 2.3.24.1 2.3.24.1
  14. Hoch CVE-2013-2134 >= 2.0.0, < 2.3.14.3 2.3.14.3
  15. Hoch CVE-2013-2135 >= 2.0.0, < 2.3.14.3 2.3.14.3
  16. Hoch CVE-2012-0838 < 2.2.3.1 2.2.3.1
  17. Hoch · 8.8 CVE-2016-4461 >= 2.0.0, < 2.3.29 2.3.29
  18. Hoch CVE-2014-0112 < 2.3.20 2.3.20
  19. Hoch CVE-2013-1966 >= 2.0.0, < 2.3.14.2 2.3.14.2
  20. Hoch CVE-2014-0113 < 2.3.20 2.3.20
  21. Hoch CVE-2013-1965 < 2.3.14.3 2.3.14.3
  22. Hoch CVE-2014-0116 < 2.3.20 2.3.20
  23. Kritisch · 9.8 CVE-2016-3087 >= 2.3.19, < 2.3.20.3, >= 2.3.21, < 2.3.24.3, >= 2.3.25, < 2.3.28.1 2.3.20.3, 2.3.24.3, 2.3.28.1
  24. Hoch · 8.1 In Angriffen ausgenutzt CVE-2016-3081 >= 2.3.19, < 2.3.20.3, >= 2.3.21, < 2.3.24.3, >= 2.3.25, < 2.3.28.1 2.3.20.3, 2.3.24.3, 2.3.28.1
  25. Kritisch · 9.8 CVE-2016-4438 >= 2.3.19, < 2.3.29 2.3.29
  26. Hoch · 8.8 CVE-2016-0785 >= 2.0.0, < 2.3.20.3, >= 2.3.24, < 2.3.24.3 2.3.20.3, 2.3.24.3
  27. Code injection in Apache Struts dieser Eintrag
    Hoch · 8.1 CVE-2013-2115 >= 2.0.0, < 2.3.14.2 2.3.14.2
  28. Kritisch · 9.8 In Angriffen ausgenutzt CVE-2013-2251 < 2.3.15.1 2.3.15.1
  29. Kritisch · 9.8 In Angriffen ausgenutzt CVE-2012-0391 < 2.2.3.1 2.2.3.1
  30. Hoch · 8.8 CVE-2012-1592 >= 2.0, < 2.5.22 2.5.22
  31. Kritisch · 9.8 CVE-2011-3923 >= 2.0.0, < 2.3.1.2 2.3.1.2
  32. Kritisch · 9.8 CVE-2021-31805 >= 2.0.0, < 2.5.30 2.5.30
  33. Kritisch · 9.8 In Angriffen ausgenutzt CVE-2020-17530 >= 2.0.0, < 2.5.26 2.5.26
  34. Hoch · 8.1 In Angriffen ausgenutzt CVE-2018-11776 >= 2.0.4, < 2.3.35, >= 2.5, < 2.5.17 2.3.35, 2.5.17
  35. Kritisch · 10.0 In Angriffen ausgenutzt CVE-2017-5638 >= 2.3.0, < 2.3.32, >= 2.5.0, < 2.5.10.1 2.3.32, 2.5.10.1
  36. Hoch · 7.5 CVE-2017-9804 >= 2.3.7, < 2.3.34, >= 2.5.0, < 2.5.13 2.3.34, 2.5.13
  37. Hoch · 7.5 CVE-2017-9787 >= 2.3.7, < 2.3.33, >= 2.5.0, < 2.5.12 2.3.33, 2.5.12
  38. Kritisch · 9.8 CVE-2017-12611 >= 2.0.1, < 2.3.34, >= 2.5.0, < 2.5.11 2.3.34, 2.5.11

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.

Anwendung verbinden
DockRay Newsletter

Anwendungssicherheit in Ihrem Postfach

Wichtige Schwachstellen, konkrete Empfehlungen und praktische Tipps für Ihre Anwendungen. Wählen Sie Ihre Technologien und verfolgen Sie, was für Ihr Projekt relevant ist.

  • Eine tägliche Zusammenfassung neuer Schwachstellen, auch kritischer.
  • Benachrichtigungen über wichtige Updates.
  • Praktische Tipps zur Sicherheit und Überwachung von Anwendungen.

Leer lassen, um Meldungen zu allen Technologien zu erhalten.

Kostenlos anmelden. In jeder E-Mail mit einem Klick abmelden.