| 标题 | freeebird hotel 1.2 branch Permissive Cross-domain Policy with Untrusted Domains |
|---|
| 描述 | The server’s CORS implementation reflects the client-supplied Origin header verbatim into Access-Control-Allow-Origin without any whitelist validation, while also enabling Access-Control-Allow-Credentials: true. This allows any malicious origin to make authenticated cross-origin requests and read sensitive responses.
Project Link: https://github.com/freeebird/hotel
Affected Version: 1.2 branch
Affected API: apis start with http://localhost:8080/ho-api such as http://localhost:8080/ho-api/user/profile
Code Location: /src/main/java/cn/mafangui/hotel/tool/SessionInterceptor.java:35 |
|---|
| 来源 | ⚠️ https://github.com/ShenxiuSec/cve-proofs/blob/main/POC-20250429-01.md |
|---|
| 用户 | ShenxiuSecurity (UID 84374) |
|---|
| 提交 | 2025-04-29 15時08分 (1 年前) |
|---|
| 管理 | 2025-05-10 15時48分 (11 days later) |
|---|
| 状态 | 已接受 |
|---|
| VulDB条目 | 308288 [Freeebird Hotel 酒店管理系统 API 直到 1.2 SessionInterceptor.java 权限提升] |
|---|
| 积分 | 20 |
|---|