CVE-2025-13246

6.3 MEDIUM

📋 TL;DR

This CVE describes a path traversal vulnerability in the JwtAuthenticationFilter component of shsuishang ShopSuite ModulithShop. Attackers can exploit this remotely to access unauthorized files or directories. All deployments using affected code commits are vulnerable.

💻 Affected Systems

Products:
  • shsuishang ShopSuite ModulithShop
Versions: All versions up to commit 45a99398cec3b7ad7ff9383694f0b53339f2d35a
Operating Systems: All
Default Config Vulnerable: ⚠️ Yes
Notes: This product uses rolling releases, so specific version numbers aren't available. Any deployment using code before the fix commit is vulnerable.

⚠️ Manual Verification Required

This CVE does not have specific version information in our database, so automatic vulnerability detection cannot determine if your system is affected.

Why? The CVE database entry doesn't specify which versions are vulnerable (no version ranges provided by the vendor/NVD).

🔒 Custom verification scripts are available for registered users. Sign up free to download automated test scripts.

Recommended Actions:
  1. Review the CVE details at NVD
  2. Check vendor security advisories for your specific version
  3. Test if the vulnerability is exploitable in your environment
  4. Consider updating to the latest version as a precaution

⚠️ Risk & Real-World Impact

🔴

Worst Case

Complete system compromise through sensitive file disclosure (configuration files, credentials, source code) leading to data theft, privilege escalation, or further attacks.

🟠

Likely Case

Unauthorized access to application files, configuration data, or user information stored in accessible directories.

🟢

If Mitigated

Limited impact if proper file system permissions restrict access to sensitive files and directories.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

Public PoC: ⚠️ Yes
Weaponized: LIKELY
Unauthenticated Exploit: ⚠️ Yes
Complexity: LOW

Exploit details are publicly available in GitHub issues and vulnerability databases, making this easy to weaponize.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Code after commit 45a99398cec3b7ad7ff9383694f0b53339f2d35a

Vendor Advisory: https://github.com/shsuishang/modulithshop/issues/1

Restart Required: Yes

Instructions:

1. Pull latest code from repository 2. Rebuild application 3. Deploy updated version 4. Restart application services

🔧 Temporary Workarounds

Input Validation Filter

all

Add input validation to reject path traversal sequences in JWT authentication requests

Implement input validation in JwtAuthenticationFilter to block requests containing '../', '..\\', or similar traversal patterns

File System Permissions

linux

Restrict file system permissions to limit accessible directories

chmod 750 /path/to/application/directories
chown root:application_user /path/to/sensitive/directories

🧯 If You Can't Patch

  • Implement WAF rules to block path traversal patterns in requests
  • Restrict network access to only trusted sources using firewall rules

🔍 How to Verify

Check if Vulnerable:

Check if your code commit is earlier than 45a99398cec3b7ad7ff9383694f0b53339f2d35a using 'git log --oneline'

Check Version:

git rev-parse HEAD

Verify Fix Applied:

Verify current commit is after 45a99398cec3b7ad7ff9383694f0b53339f2d35a and test with path traversal payloads

📡 Detection & Monitoring

Log Indicators:

  • Failed authentication attempts with unusual paths
  • Requests containing '../' patterns in authentication endpoints
  • Access to unexpected file paths in application logs

Network Indicators:

  • HTTP requests with path traversal sequences to authentication endpoints
  • Unusual file access patterns from single IP addresses

SIEM Query:

source="application.logs" AND ("../" OR "..\\" OR "%2e%2e%2f") AND endpoint="*/auth*"

🔗 References

📤 Share & Export