CVE-2024-5045

5.3 MEDIUM

📋 TL;DR

This vulnerability in SourceCodester Online Birth Certificate Management System 1.0 allows remote attackers to access sensitive files or directories through the /admin endpoint. It affects all deployments of this specific software version. The vulnerability is publicly disclosed and exploitable without authentication.

💻 Affected Systems

Products:
  • SourceCodester Online Birth Certificate Management System
Versions: 1.0
Operating Systems: Any
Default Config Vulnerable: ⚠️ Yes
Notes: Affects all deployments of version 1.0 regardless of operating system or configuration.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Attackers could access sensitive system files, configuration files, or user data, potentially leading to complete system compromise or data theft.

🟠

Likely Case

Unauthorized access to administrative files, configuration files, or sensitive data stored in accessible directories.

🟢

If Mitigated

Limited impact if proper access controls and file permissions are enforced, though the vulnerability still exists.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

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

Exploit details are publicly available on GitHub, making this easily exploitable by attackers.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Unknown

Vendor Advisory: None available

Restart Required: No

Instructions:

No official patch available. Consider upgrading to a newer version if available or implementing workarounds.

🔧 Temporary Workarounds

Restrict access to /admin directory

all

Implement access controls to restrict unauthorized access to the /admin directory

Implement web application firewall rules

all

Block requests to sensitive /admin paths using WAF rules

🧯 If You Can't Patch

  • Remove the system from internet-facing networks
  • Implement strict network segmentation and access controls

🔍 How to Verify

Check if Vulnerable:

Attempt to access sensitive files via /admin endpoint paths. Check if unauthorized file/directory access is possible.

Check Version:

Check application version in admin panel or configuration files

Verify Fix Applied:

Test that /admin endpoint no longer allows unauthorized file/directory access.

📡 Detection & Monitoring

Log Indicators:

  • Multiple failed or successful access attempts to /admin paths
  • Unusual file access patterns from external IPs

Network Indicators:

  • HTTP requests to /admin with directory traversal patterns
  • Unusual traffic to administrative endpoints

SIEM Query:

source_ip=external AND (uri_path CONTAINS '/admin' OR uri_path CONTAINS '../')

🔗 References

📤 Share & Export