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

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2024-5522 PoC — WordPress plugin HTML5 Video Player 安全漏洞

来源
关联漏洞
标题: WordPress plugin HTML5 Video Player 安全漏洞 (CVE-2024-5522)
Description:WordPress和WordPress plugin都是WordPress基金会的产品。WordPress是一套使用PHP语言开发的博客平台。该平台支持在PHP和MySQL的服务器上架设个人博客网站。Custom Field Suite plugin是使用在其中的一个自定义字段添加插件。Media Library Assistant是使用在其中的一个媒体库助手插件。WordPress plugin是一个应用插件。 WordPress plugin HTML5 Video Player 2.5.27之前版本
Description
CVE-2024-5522 HTML5 Video Player <= 2.5.26 - Unauthenticated SQL Injection
介绍
# CVE-2024-5522-Poc
CVE-2024-5522 HTML5 Video Player &lt;= 2.5.26 - Unauthenticated SQL Injection

Setup env:
1. Install HTML5 Video Player version 2.5.24 because version have html5-video-player.2.5.24\inc\Database\Videos.php create table h5vp_videos and version >=2.5.25  database folder not found
![image](https://github.com/truonghuuphuc/CVE-2024-5522-Poc/assets/20487674/cb40facd-c24e-4bd0-bb3f-a0e321e3f963)

2. Active HTML5 Video Player version 2.5.24 after check database

![image](https://github.com/truonghuuphuc/CVE-2024-5522-Poc/assets/20487674/7f6e9eaf-2dc6-407b-8407-7bce8cc40a61)

3. If you test HTML5 Video Player version 2.5.26 . Use command remove folder plugin HTML5 Video Player version 2.5.24 after remove plugin check ensure table wp_h5vp_videos exists on database (note: not uninstall plugin on dashboards website)

![image](https://github.com/truonghuuphuc/CVE-2024-5522-Poc/assets/20487674/1fb594ce-a4b9-4654-bb20-1fdc922f5a4f)

4. Install HTML5 Video Player version 2.5.26 and active

Analysis

File: wp-content/plugins/html5-video-player/inc/Rest/VideoController.php

![image](https://github.com/truonghuuphuc/CVE-2024-5522-Poc/assets/20487674/97e1dd11-794d-4ef7-aedf-8f0ca1324988)

Method: another_check default return true => 

![image](https://github.com/truonghuuphuc/CVE-2024-5522-Poc/assets/20487674/c82c8628-9979-4c70-b84b-baa28de8dfa4)

Method: get_item

![image](https://github.com/truonghuuphuc/CVE-2024-5522-Poc/assets/20487674/f86d0b4f-a0c2-41ef-a6ef-473038bbbdd5)

Poc:

https://github.com/truonghuuphuc/CVE-2024-5522-Poc/assets/20487674/23725a4d-9184-4f29-9654-580302ff5030

文件快照

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

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