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

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2024-48589 PoC — phpABook 安全漏洞

来源
关联漏洞
标题: phpABook 安全漏洞 (CVE-2024-48589)
Description:phpABook是巴西Gilnei Moraes个人开发者的一个使用 PHP 和 MySQL 的简单地址/联系人管理系统。 phpABook v.0.9版本存在安全漏洞。攻击者利用该漏洞可以通过 index.php 中的 rol 参数执行任意代码。
介绍
# phpAbook 9.0i - Cross-Site Scripting (XSS) Vulnerability (CVE-2024-48589)

---

**Summary:**

A **Cross-Site Scripting (XSS)** vulnerability was discovered in the `rol` parameter of `index.php` or the path section in the phpAbook application. This vulnerability allows an attacker to inject arbitrary JavaScript code into a user's browser, potentially leading to:

- Disclosure of sensitive information, including session cookies
- Unauthorized actions within the application context

The issue arises due to improper validation and sanitization of user-supplied input.

---

**Impact:**

An attacker can craft a URL with a malicious script in the `rol` parameter or path section and trick a user into visiting the link or execute the link directly in the browser.

---

Proof of Concept (PoC):

Access the index.php page of the phpabook application.
![](attachments/pic1.png)

Append an XSS payload to the index.php URL. For example:
```
/abc"><script>alert(document.domain)</script>
```
![](attachments/pic2.png)

Another vulnerable parameter is rol, which can be found in the "Show All" tab.
![](attachments/pic3.png)

Inject the XSS payload into the rol parameter. For example:
```
rol=abc"><script>alert(document.domain)</script>
```
![](attachments/pic4.png)
文件快照

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

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