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

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2024-5735 PoC — Joomla! Admiror Frames 安全漏洞

Source
Associated Vulnerability
Title:Joomla! Admiror Frames 安全漏洞 (CVE-2024-5735)
Description:Joomla!是一套使用在Joomla!内容管理系统中的论坛组件。 Joomla! Admiror Frames 5.0之前版本存在安全漏洞,该漏洞源于允许未经授权的攻击者检索Web根文件夹的位置。
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. 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.