CVE-2024-12354

5.3 MEDIUM

📋 TL;DR

A critical buffer overflow vulnerability in SourceCodester Phone Contact Manager System 1.0 allows attackers to execute arbitrary code or crash the system by exploiting the UserInterface::MenuDisplayStart function. This affects all installations of version 1.0. The attack requires local host access but can lead to complete system compromise.

💻 Affected Systems

Products:
  • SourceCodester Phone Contact Manager System
Versions: 1.0
Operating Systems: Any OS running the vulnerable software
Default Config Vulnerable: ⚠️ Yes
Notes: All installations of version 1.0 are vulnerable. No specific OS requirements mentioned.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Remote code execution leading to full system compromise, data theft, or installation of persistent malware

🟠

Likely Case

Application crash (denial of service) or limited code execution within application context

🟢

If Mitigated

Application crash with no further impact if proper memory protections and isolation are in place

🌐 Internet-Facing: LOW (requires local host access according to description)
🏢 Internal Only: HIGH (local attackers can exploit to gain elevated privileges or compromise the system)

🎯 Exploit Status

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

Exploit has been publicly disclosed. Attack requires local access but exploit code is available.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Unknown

Vendor Advisory: https://www.sourcecodester.com/

Restart Required: Yes

Instructions:

1. Check vendor website for updates 2. If patch available, download and install 3. Restart application/service 4. Verify fix

🔧 Temporary Workarounds

Disable or Remove Application

linux

Remove the vulnerable Phone Contact Manager System if not essential

sudo systemctl stop phone-contact-manager
sudo apt remove phone-contact-manager

Network Isolation

linux

Restrict network access to only trusted hosts

sudo ufw deny from any to any port [APP_PORT]

🧯 If You Can't Patch

  • Implement strict access controls to limit who can access the system locally
  • Deploy application sandboxing or containerization to limit exploit impact

🔍 How to Verify

Check if Vulnerable:

Check if Phone Contact Manager System version 1.0 is installed

Check Version:

Check application about menu or configuration files for version information

Verify Fix Applied:

Verify application version is no longer 1.0 or check vendor for patch confirmation

📡 Detection & Monitoring

Log Indicators:

  • Application crash logs
  • Unusual memory access patterns
  • Buffer overflow error messages

Network Indicators:

  • Unusual local network traffic to application port

SIEM Query:

source="application.log" AND ("buffer overflow" OR "segmentation fault" OR "access violation")

🔗 References

📤 Share & Export