目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2025-29775 PoC — xml-crypto 数据伪造问题漏洞

来源
关联漏洞
标题: xml-crypto 数据伪造问题漏洞 (CVE-2025-29775)
Description:NPM xml-crypto是NPM公司的一个数字签名和加密库。 xml-crypto 6.0.0及之前版本存在安全漏洞,该漏洞源于绕过身份验证或授权机制,允许攻击者修改有效的签名XML消息。
介绍
# SAMLStorm (CVE-2025-29775) Lab Environment

![Educational](https://img.shields.io/badge/Purpose-Educational-blue)

This is a lab environment for demonstrating the SAMLStorm vulnerability (CVE-2025-29775) that affects the xml-crypto library and SAML implementations in Node.js. (Note: This is not a true exploitation of the vulnerability, just a recreation to demonstrate how the vulnerability could work.)

## Components

- **Service Provider**: A vulnerable SAML service provider using @node-saml/node-saml
- **Identity Provider**: A simple mock SAML identity provider
- **Exploit Tool**: A web interface to demonstrate the vulnerability

## Setup

1. Make sure you have Node.js installed
2. Run the setup script:
```
python start-lab.py
```

This will:
- Generate necessary certificates
- Install dependencies
- Start all three components in separate terminals

## Usage

1. Go to the Service Provider: http://localhost:3000
2. Click "Login with SAML"
3. Enter credentials at the Identity Provider
4. Intercept the SAML response using browser dev tools or a proxy
5. Use the Exploit Tool at http://localhost:8000 to modify the response
6. Submit the modified response to demonstrate the vulnerability

## Vulnerability Details

The SAMLStorm vulnerability (CVE-2025-29775) affects the xml-crypto library, which is used by many SAML implementations in the Node.js ecosystem. The vulnerability allows attackers to bypass signature verification by inserting comments within the DigestValue element of a SAML response.

For more information:
- https://nvd.nist.gov/vuln/detail/CVE-2025-29775
- https://workos.com/blog/samlstorm
文件快照

登录后查看神龙缓存的 POC 文件快照

登录查看
备注
    1. 建议优先通过来源进行访问。
    2. 本地 POC 快照面向订阅用户开放;当原始来源失效或无法访问时,本地镜像作为订阅权益的一部分提供。
    3. 持续抓取、验证、维护这份 POC 档案需要不少投入,因此本地快照已纳入付费订阅。您的订阅是让这份资料能继续走下去的关键,由衷感谢。 查看订阅方案 →