You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ujcms v8.0.2 has a vulnerability that is Reliance on IP Address for Authentication(CWE-291), attacker could spoofing servers with IP addresses and impact log record.
[Vulnerability Type]
CWE-291: Reliance on IP Address for Authentication
[Vulnerability description]
Ujcms v8.0.2 has a vulnerability that is Reliance on IP Address for Authentication(CWE-291), attacker could spoofing servers with IP addresses and impact log record.
[Vulnerability Type]
CWE-291: Reliance on IP Address for Authentication
[Vendor of Product]
https://gitee.com/ujcms/ujcms
https://github.com/ujcms/ujcms
https://www.ujcms.com/
[Affected Product Code Base]
v8.0.2
[Vulnerability proof]
Condition: tomcat deployment project
the weak java file : src/main/java/com/ujcms/commons/web/Servlets.java
X-Forwarded-For: 1.1.1.1
in header, the IP list will be1.1.1.1, 127.0.0.1
, nowgetRemoteAddr()
will get the127.0.0.1
3. And then find the ip from right to left, the left ip is 1.1.1.1
The IP impersonation is complete
We can see the fake IP address in the log.
many Controllers use this weak method:
The text was updated successfully, but these errors were encountered: