POC详情: 976b95f36b2aeff92c06955acaf557849b40592f

来源
关联漏洞
标题: WordPress plugin WP Query Console 代码注入漏洞 (CVE-2024-50498)
描述:WordPress和WordPress plugin都是WordPress基金会的产品。WordPress是一套使用PHP语言开发的博客平台。该平台支持在PHP和MySQL的服务器上架设个人博客网站。WordPress plugin是一个应用插件。 WordPress plugin WP Query Console 1.0版本及之前版本存在代码注入漏洞,该漏洞源于代码生成控制不当,导致代码注入漏洞。
介绍
# CVE-2024-50498
## Description
Improper Control of Generation of Code ('Code Injection') vulnerability in LUBUS WP Query Console allows Code Injection.This issue affects WP Query Console: from n/a through 1.0.
## Setup Netcat Listener:
Open a terminal on your machine and start a Netcat listener to wait for the reverse shell connection
```
nc -lvnp <PORT>

```


### usage
```
usage: CVE-2024-50498.py [-h] -u URL -ip LISTENER_IP -P PORT

wordpress | Improper Control of Generation of Code ('Code Injection') vulnerability in LUBUS WP Query Console allows Code
Injection.This issue affects WP Query Console: from n/a through 1.0. script Exploit by: Nxploit Khaled_alenazi This script
is provided for educational purposes only. The author is not responsible for any damages caused by the misuse of this
script.

options:
  -h, --help            show this help message and exit
  -u URL, --url URL     Target URL (e.g., http://example.com/wordpress)
  -ip LISTENER_IP, --listener_ip LISTENER_IP
                        Your IP address for listening.
  -P PORT, --port PORT  Your listening port.


```
After running the command, monitor the Netcat terminal for the reverse shell connection.


### Output
The script will first check if the site is vulnerable by looking for the plugin version.
If vulnerable, it sends a payload to trigger the reverse shell.
If successful, check your Netcat terminal for the shell connection.



文件快照

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