CVE-2017-5638
Apache Struts Remote Code Execution Vulnerability
Beskrivelse
The Jakarta Multipart parser in Apache Struts 2 2.3.x before 2.3.32 and 2.5.x before 2.5.10.1 has incorrect exception handling and error-message generation during file-upload attempts, which allows remote attackers to execute arbitrary commands via a crafted Content-Type, Content-Disposition, or Content-Length HTTP header, as exploited in the wild in March 2017 with a Content-Type header containing a #cmd= string.
Beskrivelsen gjengis slik kilden har publisert den, på engelsk.
Nøkkelfakta
- Publisert
- 2017-03-11
- Sist endret
- 2026-06-17
- Tildelt av
- security@apache.org
- CVSS-vektor
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H- Scoret av
- nvd@nist.gov (NVD Primary)
- Sannsynlighet for utnyttelse
-
100.0 %
blant de aller høyeste av alle kjente sårbarheter
EPSS, neste 30 dager, modell v2026.06.15 - Rettelse finnes
- Ja, se referansene
Aktivt utnyttet
CISA førte denne sårbarheten inn i katalogen over kjente utnyttede sårbarheter 2021-11-03, med utbedringsfrist 2022-05-03 for amerikanske føderale etater.
Pålagt tiltak: Apply updates per vendor instructions.
Berørte produkter
| Leverandør | Produkt | Versjoner | Status |
|---|---|---|---|
| Apache | Struts | ≥ 2.2.3, < 2.3.32 | Berørt |
| Apache | Struts | ≥ 2.5.0, < 2.5.10.1 | Berørt |
| Arubanetworks | Clearpass Policy Manager | < 6.6.5 | Berørt |
| Hp | Server Automation | 10.0.0 | Berørt |
| Hp | Server Automation | 10.1.0 | Berørt |
| Hp | Server Automation | 10.2.0 | Berørt |
| Hp | Server Automation | 10.5.0 | Berørt |
| Hp | Server Automation | 9.1.0 | Berørt |
| Ibm | Storwize V3500 | alle oppførte versjoner | Ikke berørt |
| Ibm | Storwize V3500 Firmware | 7.7.1.6 | Berørt |
| Ibm | Storwize V3500 Firmware | 7.8.1.0 | Berørt |
| Ibm | Storwize V5000 | alle oppførte versjoner | Ikke berørt |
| Ibm | Storwize V5000 Firmware | 7.7.1.6 | Berørt |
| Ibm | Storwize V5000 Firmware | 7.8.1.0 | Berørt |
| Ibm | Storwize V7000 | alle oppførte versjoner | Ikke berørt |
| Ibm | Storwize V7000 Firmware | 7.7.1.6 | Berørt |
| Ibm | Storwize V7000 Firmware | 7.8.1.0 | Berørt |
| Lenovo | Storage V5030 | alle oppførte versjoner | Ikke berørt |
| Lenovo | Storage V5030 Firmware | 7.7.1.6 | Berørt |
| Lenovo | Storage V5030 Firmware | 7.8.1.0 | Berørt |
| Netapp | Oncommand Balance | alle oppførte versjoner | Berørt |
| Oracle | Weblogic Server | 10.3.6.0.0 | Berørt |
| Oracle | Weblogic Server | 12.1.3.0.0 | Berørt |
| Oracle | Weblogic Server | 12.2.1.1.0 | Berørt |
| Oracle | Weblogic Server | 12.2.1.2.0 | Berørt |
| org.apache.struts | struts2-core (Maven) | ≥ 2.3.0, < 2.3.32 | Berørt |
| org.apache.struts | struts2-core (Maven) | ≥ 2.5.0, < 2.5.10.1 | Berørt |
Svakhetstype
-
CWE-20: Improper Input Validation
The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.
-
CWE-755: Improper Handling of Exceptional Conditions
The product does not handle or incorrectly handles an exceptional condition.
Angrepsteknikker
Utledet gjennom svakhetstypen: CVE til CWE til CAPEC til ATT&CK. Dette viser hvilke teknikker svakhetsklassen historisk brukes til. Det er ikke en påstand om at nettopp denne sårbarheten er utnyttet slik.
- T1027: Obfuscated Files or Information
- T1036.001: Invalid Code Signature
- T1539: Steal Web Session Cookie
- T1553.002: Code Signing
- T1574.006: Dynamic Linker Hijacking
- T1574.007: Path Interception by PATH Environment Variable
Referanser
- http://blog.talosintelligence.com/2017/03/apache-0-day-exploited.html
- http://blog.trendmicro.com/trendlabs-security-intelligence/cve-2017-5638-apache-struts-vu…
- http://www.arubanetworks.com/assets/alert/ARUBA-PSA-2017-002.txt
- http://www.eweek.com/security/apache-struts-vulnerability-under-attack.html
- http://www.oracle.com/technetwork/security-advisory/cpujul2017-3236622.html
- http://www.securityfocus.com/bid/96729
- http://www.securitytracker.com/id/1037973
- https://arstechnica.com/security/2017/03/critical-vulnerability-under-massive-attack-impe…
- https://cwiki.apache.org/confluence/display/WW/S2-045
- https://cwiki.apache.org/confluence/display/WW/S2-046
- https://exploit-db.com/exploits/41570
- https://git1-us-west.apache.org/repos/asf?p=struts.git%3Ba%3Dcommit%3Bh%3D352306493971e7d…
- https://git1-us-west.apache.org/repos/asf?p=struts.git%3Ba%3Dcommit%3Bh%3D6b8272ce4716003…
- https://github.com/mazen160/struts-pwn
- https://github.com/rapid7/metasploit-framework/issues/8064
- https://h20566.www2.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbgn0…
- https://h20566.www2.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbgn0…
- https://h20566.www2.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbhf0…
- https://isc.sans.edu/diary/22169
- https://lists.apache.org/thread.html/r1125f3044a0946d1e7e6f125a6170b58d413ebd4a95157e4608…
Berører dette dere?
En sårbarhet betyr bare noe hvis dere kjører produktet, i en berørt versjon, et sted en angriper kommer til.