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

Goal: 1000 CNY · Raised: 1020 CNY

100%

CVE-2024-54374 PoC — WordPress Sogrid plugin <= 1.5.6 - Local File Inclusion vulnerability

Source
Associated Vulnerability
Title:WordPress Sogrid plugin <= 1.5.6 - Local File Inclusion vulnerability (CVE-2024-54374)
Description:Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') vulnerability in Sabri Sogrid sogrid allows PHP Local File Inclusion.This issue affects Sogrid: from n/a through <= 1.5.6.
Description
Sogrid <= 1.5.6 - Unauthenticated Local File Inclusion
Readme
# CVE-2024-54374
Sogrid <= 1.5.6 - Unauthenticated Local File Inclusion

# Description

The Sogrid plugin for WordPress is vulnerable to Local File Inclusion in versions up to, and including, 1.5.6. 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 images and other “safe” file types can be uploaded and included.

## Details

- **Type**: plugin
- **Slug**: sogrid
- **Affected Version**: 1.5.6
- **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-2024-54374
- **Status**: Active

POC
---

```
wp-dev.ddev.site/wp-content/plugins/sogrid/src/admin-panel/views/panel.php?tab=FILEHERE
```

Note: only can load files inside `/wp-content/plugins/sogrid/src/admin-panel/views/` so useless.
File Snapshot

[4.0K] /data/pocs/23f79464d6de788756dd63856f33da23a7531406 └── [ 984] 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 →