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

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2024-5735 PoC — Full Path Disclosure in AdmirorFrames Joomla! Extension

Source
Associated Vulnerability
Title:Full Path Disclosure in AdmirorFrames Joomla! Extension (CVE-2024-5735)
Description:Full Path Disclosure vulnerability in AdmirorFrames Joomla! extension in afHelper.php script allows an unauthorised attacker to retrieve location of web root folder. This issue affects AdmirorFrames: before 5.0.
Description
AdmirorFrames Joomla! Extension < 5.0 - Full Path Disclosure
Readme
# CVE-2024-5735
AdmirorFrames Joomla! Extension < 5.0 - Full Path Disclosure

## Timeline
- Vulnerability reported to vendor: 26.01.2024
- New fixed 5.0 version released: 06.06.2024
- Public disclosure: 28.06.2024

## Description

Full Path Disclosure vulnerability in AdmirorFrames Joomla! Extension in `afHelper.php` file which uses value of `JPATH_BASE` directly when constructing path to image. According to Joomla! documentation `JPATH_BASE` is defined as:
```
The path to the installed Joomla! site
```

The vulnerability exists in `afHelper.php` file:
```
 $this->params['templates_BASE'] = JPATH_BASE . DIRECTORY_SEPARATOR . 'plugins' . DIRECTORY_SEPARATOR .
             'content' . $path . 'templates' . DIRECTORY_SEPARATOR;
```

This issue was caused by direct usage of `JPATH_BASE` variable when constructing image path. This problem has been fixed in AdmirorFrames Joomla! Extension at version 5.0.

## Affected versions
< 5.0 

## Advisory
Update AdmirorFrames Joomla! Extension to version 5.0 or newer.

### References
* https://github.com/vasiljevski/admirorframes/issues/3
* https://cert.pl/en/posts/2024/06/CVE-2024-5735/
* https://cert.pl/posts/2024/06/CVE-2024-5735/
* https://nvd.nist.gov/vuln/detail/CVE-2024-5735
File Snapshot

[4.0K] /data/pocs/bb7e7158ffd932a586bfcd1f8d7508433d6230c8 └── [1.2K] 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 →