CVE-2025-13177

4.3 MEDIUM

📋 TL;DR

This vulnerability allows attackers to perform cross-site request forgery (CSRF) attacks against Bdtask/CodeCanyon SalesERP systems. Attackers can trick authenticated users into executing unintended actions on the application. All users of affected SalesERP versions are potentially impacted.

💻 Affected Systems

Products:
  • Bdtask/CodeCanyon SalesERP
Versions: Up to and including 20250728
Operating Systems: All
Default Config Vulnerable: ⚠️ Yes
Notes: All installations using affected versions are vulnerable regardless of configuration.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Attackers could perform administrative actions like creating new admin accounts, changing system settings, or deleting critical data by tricking authenticated administrators.

🟠

Likely Case

Attackers trick regular users into performing actions like changing their own passwords, modifying their profile data, or making unintended purchases/transactions.

🟢

If Mitigated

With proper CSRF protections and user awareness, impact is limited to unsuccessful attack attempts being logged.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

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

CSRF attacks are well-understood and easy to execute. The vulnerability is publicly documented with references available.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Unknown

Vendor Advisory: None available

Restart Required: No

Instructions:

No official patch available. Vendor has not responded to disclosure. Consider workarounds or alternative software.

🔧 Temporary Workarounds

Implement CSRF Tokens

all

Add anti-CSRF tokens to all state-changing forms and validate them server-side

Manual code modification required - add unique tokens to forms and validate on submission

SameSite Cookie Attribute

all

Set SameSite=Strict or SameSite=Lax attributes on session cookies

Set-Cookie: session=value; SameSite=Strict; Secure; HttpOnly

🧯 If You Can't Patch

  • Implement web application firewall (WAF) rules to detect and block CSRF patterns
  • Educate users about CSRF risks and safe browsing practices

🔍 How to Verify

Check if Vulnerable:

Check if forms lack CSRF tokens or if session cookies lack SameSite attributes. Review application version against affected range.

Check Version:

Check application version in admin panel or configuration files

Verify Fix Applied:

Test that all forms include unique CSRF tokens validated server-side and that cookies have proper SameSite attributes.

📡 Detection & Monitoring

Log Indicators:

  • Multiple failed form submissions from same IP
  • Unusual administrative actions from unexpected user sessions

Network Indicators:

  • Requests with missing or invalid CSRF tokens
  • Cross-origin form submissions

SIEM Query:

source="web_logs" AND (csrftoken="missing" OR csrftoken="invalid")

🔗 References

📤 Share & Export