Share
## https://sploitus.com/exploit?id=1337DAY-ID-39846
# 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.