nday
CVE-2021-27850

Bypass of the fix for CVE-2019-0195

Apache Software Foundation / Apache Tapestry

CVE 공개: . nday가 아직 패치 근거를 수집하지 않았습니다. 패치가 없다는 뜻은 아닙니다. PoC 출처 4곳 중 2곳 등재: metasploit 및 nuclei. CISA KEV 미등재.

why these tags

nday derives these tags by fixed rules from the facts below; NVD, the CNA and other sources do not assign them. Vocabulary and rules: ~/tags.

deserialization of untrusted data
CWE-502, stated by the CNA apache, NVD's analysts 및 NVD, republishing [email protected]
information disclosure
CWE-200, stated by the CNA apache 및 NVD, republishing [email protected]
remote, unauthenticated
AV:N, PR:N, UI:N in CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (CVSS 3.1) from NVD's analysts
network
AV:N in CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (CVSS 3.1) from NVD's analysts
no authentication required
PR:N in CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (CVSS 3.1) from NVD's analysts
no user interaction
UI:N in CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (CVSS 3.1) from NVD's analysts
Metasploit
Metasploit modules auxiliary/gather/cve_2021_27850_apache_tapestry_hmac_key
nuclei
nuclei templates CVE-2021-27850
현재 단계
POC
공개
CVSS
점수 없음

생명주기

가로축 UTC. 점 = 분 단위, 넓은 막대 = 날짜만, 빈 표시 = 불명 또는 추정.
시점 알 수 없음
DIS공개
2021-04-15T07:40Z
PAT패치
아직 기록 없음
ANA분석
아직 기록 없음
POCPoC
metasploit, nuclei
ITW악용
아직 기록 없음
KEVKEV
아직 기록 없음

요약

A critical unauthenticated remote code execution vulnerability was found all recent versions of Apache Tapestry. The affected versions include 5.4.5, 5.5.0, 5.6.2 and 5.7.0. The vulnerability I have found is a bypass of the fix for CVE-2019-0195. Recap: Before the fix of CVE-2019-0195 it was possible to download arbitrary class files from the classpath by providing a crafted asset file URL. An attacker was able to download the file AppModule.class by requesting the URL http://localhost:8080/assets/something/services/AppModule.class which contains a HMAC secret key. The fix for that bug was a blacklist filter that checks if the URL ends with .class, .properties or .xml. Bypass: Unfortunately, the blacklist solution can simply be bypassed by appending a / at the end of the URL: http://localhost:8080/assets/something/services/AppModule.class/ The slash is stripped after the blacklist check and the file AppModule.class is loaded into the response. This class usually contains the HMAC secret key which is used to sign serialized Java objects. With the knowledge of that key an attacker can sign a Java gadget chain that leads to RCE (e.g. CommonsBeanUtils1 from ysoserial). Solution for this vulnerability: * For Apache Tapestry 5.4.0 to 5.6.1, upgrade to 5.6.2 or later. * For Apache Tapestry 5.7.0, upgrade to 5.7.1 or later.

Original text of the CVE record (cvelist), shown as published.

이벤트 로그

+DISCVE 공개

CVE 레코드 공개(CNA: apache).

출처 cvelist · nday 일괄 수집 · 원본
{
  "id": 63132,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2021-27850",
  "occurred_at": "2021-04-15T07:40:11Z",
  "observed_at": "2026-11-12T20:03:12.555163Z",
  "is_backfill": true,
  "dedupe_key": "",
  "detail": {
    "state": "PUBLISHED",
    "date_published": "2021-04-15T07:40:11.000Z",
    "assigner_short_name": "apache"
  }
}
시점 알 수 없음출처에 시각 정보 없음
+POC공개 PoC

Metasploit에 모듈 있음: auxiliary/gather/cve_2021_27850_apache_tapestry_hmac_key (Apache Tapestry HMAC secret key leak). 출처에 모듈 배포 시점 정보 없음.

출처 metasploit auxiliary/gather/cve_2021_27850_apache_tapestry_hmac_key · nday 일괄 수집 · 원본
{
  "id": 49827,
  "type": "poc_published",
  "source": "metasploit",
  "url": "https://github.com/rapid7/metasploit-framework/blob/master/modules/auxiliary/gather/cve_2021_27850_apache_tapestry_hmac_key.rb",
  "occurred_at": null,
  "observed_at": "2026-11-12T15:24:51.477477Z",
  "is_backfill": true,
  "dedupe_key": "auxiliary/gather/cve_2021_27850_apache_tapestry_hmac_key",
  "detail": {
    "url": "https://github.com/rapid7/metasploit-framework/blob/master/modules/auxiliary/gather/cve_2021_27850_apache_tapestry_hmac_key.rb",
    "kind": "msf_module",
    "path": "/modules/auxiliary/gather/cve_2021_27850_apache_tapestry_hmac_key.rb",
    "rank": 300,
    "check": true,
    "title": "Apache Tapestry HMAC secret key leak",
    "cve_ids": [
      "CVE-2021-27850"
    ],
    "fullname": "auxiliary/gather/cve_2021_27850_apache_tapestry_hmac_key",
    "rank_name": "normal",
    "confidence": "curated",
    "module_type": "auxiliary",
    "module_last_modified": "2026-06-05 11:39:07 +0000",
    "vuln_disclosure_date": "2021-04-15"
  }
}
시점 알 수 없음출처에 시각 정보 없음
+POC공개 PoC

nuclei-templates에 탐지 템플릿 있음: CVE-2021-27850 (Apache Tapestry - Remote Code Execution). 출처에 템플릿 배포 시점 정보 없음.

출처 nuclei · nday 일괄 수집 · 원본
{
  "id": 54567,
  "type": "poc_published",
  "source": "nuclei",
  "url": "https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2021/CVE-2021-27850.yaml",
  "occurred_at": null,
  "observed_at": "2026-11-12T15:24:53.738369Z",
  "is_backfill": true,
  "dedupe_key": "CVE-2021-27850",
  "detail": {
    "url": "https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2021/CVE-2021-27850.yaml",
    "kind": "detection_template",
    "title": "Apache Tapestry - Remote Code Execution",
    "severity": "critical",
    "confidence": "curated",
    "cvss_score": "9.8",
    "template_id": "CVE-2021-27850",
    "template_path": "http/cves/2021/CVE-2021-27850.yaml"
  }
}

Report an error

report an error or omission

Something on this page wrong or missing? Tell the editors; if they accept it, this page's revision log says so publicly. Upstream data is not changed.

연구자 논의

최근 7일간 연구자 0명이 언급

목록의 연구자가 X에서 이 CVE를 언급한 게시물입니다. 원문 그대로 보여 주며 nday는 검증하지 않습니다.

명단의 연구자가 X에서 이 CVE를 언급한 게시물은 아직 수집되지 않았습니다.

Discussion

0 comments

No comments yet.