CVE-2021-20845

8.8 HIGH

📋 TL;DR

This CSRF vulnerability in Unlimited Sitemap Generator allows attackers to trick authenticated administrators into performing unintended actions by visiting a malicious webpage. Affected users are those running versions before 8.2 of the standalone sitemap generator software.

💻 Affected Systems

Products:
  • Unlimited Sitemap Generator (standalone version)
Versions: All versions prior to v8.2
Operating Systems: Windows, Linux, macOS
Default Config Vulnerable: ⚠️ Yes
Notes: Only affects the standalone generator software, not the online service. Requires administrator authentication to be exploited.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Complete administrative takeover allowing attacker to modify sitemap settings, inject malicious content, or potentially execute arbitrary code through chained vulnerabilities.

🟠

Likely Case

Unauthorized sitemap configuration changes, SEO manipulation, or injection of malicious links into generated sitemaps.

🟢

If Mitigated

No impact if proper CSRF protections are implemented or if administrator doesn't visit malicious sites while authenticated.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

Public PoC: ✅ No
Weaponized: LIKELY
Unauthenticated Exploit: ✅ No
Complexity: LOW

CSRF attacks are well-understood and easy to weaponize. Exploitation requires the victim administrator to be logged in and visit a malicious page.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: v8.2 and later

Vendor Advisory: https://www.xml-sitemaps.com/news-20210831.html

Restart Required: No

Instructions:

1. Download Unlimited Sitemap Generator v8.2 or later from xml-sitemaps.com. 2. Install the update following vendor instructions. 3. Verify the version shows 8.2 or higher in the application.

🔧 Temporary Workarounds

Implement CSRF Tokens

all

Add anti-CSRF tokens to all administrative forms and validate them on the server side.

SameSite Cookie Attribute

all

Set SameSite=Strict or SameSite=Lax attributes on session cookies to prevent cross-site requests.

🧯 If You Can't Patch

  • Restrict administrative access to trusted networks only
  • Use separate browser profiles for administrative tasks and general browsing

🔍 How to Verify

Check if Vulnerable:

Check the application version in the software interface or about dialog. If version is below 8.2, it is vulnerable.

Check Version:

Check via application GUI or look for version information in application files/configuration.

Verify Fix Applied:

Confirm version is 8.2 or higher and test that administrative forms now include CSRF tokens.

📡 Detection & Monitoring

Log Indicators:

  • Unexpected administrative actions from unusual IP addresses
  • Multiple failed CSRF token validations

Network Indicators:

  • Cross-origin requests to administrative endpoints without proper referrer headers

SIEM Query:

web_requests WHERE (url CONTAINS '/admin/' OR url CONTAINS administrative_endpoints) AND referrer NOT IN trusted_domains

🔗 References

📤 Share & Export