CVE-2023-49372

8.8 HIGH

📋 TL;DR

JFinalCMS v5.0.0 contains a Cross-Site Request Forgery (CSRF) vulnerability in the slide management endpoint (/admin/slide/save). This allows attackers to trick authenticated administrators into performing unauthorized actions like modifying or adding slide content. Organizations using JFinalCMS v5.0.0 are affected.

💻 Affected Systems

Products:
  • JFinalCMS
Versions: v5.0.0
Operating Systems: All
Default Config Vulnerable: ⚠️ Yes
Notes: Only affects installations with the admin interface accessible and slide management functionality enabled.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Attackers could modify all slide content, inject malicious scripts, or potentially escalate privileges through chained attacks if the slide management interface has broader permissions.

🟠

Likely Case

Unauthorized modification of rotation/slide images and content, potentially leading to defacement or injection of malicious content visible to website visitors.

🟢

If Mitigated

With proper CSRF protections, no unauthorized actions can be performed even if administrators visit malicious pages.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

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

Exploitation requires the victim to be authenticated as an administrator and visit a malicious page while logged in.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Unknown

Vendor Advisory: None known

Restart Required: No

Instructions:

No official patch available. Consider upgrading to a newer version if available, or implement CSRF protection manually.

🔧 Temporary Workarounds

Implement CSRF Tokens

all

Add CSRF token validation to the /admin/slide/save endpoint

Modify the slide save controller to require and validate CSRF tokens

Restrict Admin Access

all

Limit admin interface access to trusted IP addresses only

Configure firewall/access controls to restrict /admin/* paths

🧯 If You Can't Patch

  • Implement web application firewall (WAF) rules to detect and block CSRF attempts
  • Require re-authentication for sensitive admin actions like slide modifications

🔍 How to Verify

Check if Vulnerable:

Check if JFinalCMS version is 5.0.0 and if /admin/slide/save endpoint lacks CSRF protection

Check Version:

Check JFinalCMS configuration files or admin panel for version information

Verify Fix Applied:

Test that /admin/slide/save endpoint now requires and validates CSRF tokens

📡 Detection & Monitoring

Log Indicators:

  • Multiple failed slide save attempts from different sessions
  • Slide modifications without corresponding admin page visits

Network Indicators:

  • POST requests to /admin/slide/save without Referer header or CSRF tokens

SIEM Query:

source="web_logs" AND uri="/admin/slide/save" AND (NOT csrf_token=*)

🔗 References

📤 Share & Export