CVE-2024-57152

7.5 HIGH

📋 TL;DR

This vulnerability allows attackers to bypass authentication in my-site v1.0.2 by exploiting incorrect access control in the BaseInterceptor class. Attackers can access sensitive components without proper authentication. Only users running my-site v1.0.2 are affected.

💻 Affected Systems

Products:
  • my-site
Versions: v1.0.2
Operating Systems: All
Default Config Vulnerable: ⚠️ Yes
Notes: Only affects installations using the vulnerable BaseInterceptor class for authentication checks.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Attackers gain unauthorized access to administrative functions, sensitive user data, or backend systems, potentially leading to complete system compromise.

🟠

Likely Case

Unauthenticated attackers access protected pages or functionality, potentially viewing or modifying sensitive information.

🟢

If Mitigated

With proper authentication controls, only authorized users can access protected components, limiting impact to legitimate operations.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

Public PoC: ✅ No
Weaponized: UNKNOWN
Unauthenticated Exploit: ⚠️ Yes
Complexity: LOW

The vulnerability is in access control logic, making exploitation straightforward once identified.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Check GitHub issue for latest patched version

Vendor Advisory: https://github.com/WinterChenS/my-site/issues/92

Restart Required: Yes

Instructions:

1. Check the GitHub issue for patch details. 2. Update to the latest version. 3. Restart the application server.

🔧 Temporary Workarounds

Implement custom authentication middleware

all

Add additional authentication checks before the vulnerable interceptor

Implement custom authentication filter in web.xml or Spring configuration

🧯 If You Can't Patch

  • Restrict network access to only trusted IP addresses
  • Implement web application firewall rules to block unauthorized access patterns

🔍 How to Verify

Check if Vulnerable:

Check if running my-site v1.0.2 and if BaseInterceptor is used for authentication

Check Version:

Check application version in configuration files or via application interface

Verify Fix Applied:

Test authentication bypass attempts after patching to confirm they fail

📡 Detection & Monitoring

Log Indicators:

  • Unauthenticated access attempts to protected endpoints
  • Failed authentication logs followed by successful access

Network Indicators:

  • HTTP requests to protected endpoints without authentication headers

SIEM Query:

source="web_server" AND (url_path="/admin/*" OR url_path="/protected/*") AND NOT auth_token=*

🔗 References

📤 Share & Export