CVE-2017-17616

9.8 CRITICAL

📋 TL;DR

Event Search Script 1.0 contains a SQL injection vulnerability in the city parameter of the /event-list endpoint. This allows attackers to execute arbitrary SQL commands on the database. Anyone running Event Search Script 1.0 is affected.

💻 Affected Systems

Products:
  • Event Search Script
Versions: 1.0
Operating Systems: All
Default Config Vulnerable: ⚠️ Yes
Notes: Any installation of Event Search Script 1.0 with the vulnerable /event-list endpoint accessible.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Complete database compromise including data theft, data manipulation, and potential remote code execution via database functions.

🟠

Likely Case

Database information disclosure, authentication bypass, and data manipulation.

🟢

If Mitigated

Limited impact with proper input validation and parameterized queries in place.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

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

Multiple public exploit scripts available, trivial to exploit with basic SQL injection knowledge.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: N/A

Vendor Advisory: N/A

Restart Required: No

Instructions:

No official patch available. Replace with secure alternative or implement custom fixes.

🔧 Temporary Workarounds

Input Validation Filter

all

Add server-side validation to sanitize city parameter input

Implement parameterized queries or prepared statements in PHP code

WAF Rule

all

Block SQL injection patterns in the city parameter

Add WAF rule: Detect and block SQL keywords in /event-list requests

🧯 If You Can't Patch

  • Block access to /event-list endpoint at network perimeter
  • Implement strict input validation and output encoding in application layer

🔍 How to Verify

Check if Vulnerable:

Test /event-list endpoint with SQL injection payloads in city parameter (e.g., city=' OR '1'='1)

Check Version:

Check script version in source code or documentation files

Verify Fix Applied:

Verify SQL injection payloads no longer execute and return expected error handling

📡 Detection & Monitoring

Log Indicators:

  • Unusual SQL errors in application logs
  • Multiple requests with SQL keywords to /event-list

Network Indicators:

  • HTTP requests to /event-list with SQL injection patterns in parameters

SIEM Query:

source="web_logs" AND uri_path="/event-list" AND (param="city" AND value MATCHES "(?i)(union|select|insert|update|delete|drop|--|#|;)")

🔗 References

📤 Share & Export