CVE-2019-25523
SQL Injection in XooGallery cat.php Allows Data Manipulation
Publication date: 2026-03-12
Last updated on: 2026-03-23
Assigner: VulnCheck
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| xooscripts | xoogallery | * |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-89 | The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data. |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
CVE-2019-25523 is a high-severity SQL injection vulnerability in XooGallery, specifically in the cat.php script through the cat_id parameter.
This vulnerability occurs because the cat_id parameter is not properly sanitized, allowing unauthenticated attackers to inject malicious SQL code.
Attackers can exploit this by sending crafted GET requests with manipulated cat_id values to execute unauthorized database queries.
How can this vulnerability impact me? :
Exploitation of this vulnerability can allow attackers to bypass authentication mechanisms.
Attackers may extract sensitive data from the database without authorization.
They can also modify database contents, potentially compromising data integrity.
How does this vulnerability affect compliance with common standards and regulations (like GDPR, HIPAA)?:
I don't know
How can this vulnerability be detected on my network or system? Can you suggest some commands?
[{'type': 'paragraph', 'content': 'This vulnerability can be detected by monitoring for suspicious GET requests to the cat.php script with unusual or malicious cat_id parameter values that may indicate SQL injection attempts.'}, {'type': 'paragraph', 'content': 'You can use network traffic inspection tools or web server logs to identify such requests.'}, {'type': 'list_item', 'content': 'Use curl or wget to test the endpoint with crafted cat_id values, for example: curl "http://yourserver/cat.php?cat_id=1\' OR \'1\'=\'1"'}, {'type': 'list_item', 'content': 'Use grep on web server logs to find suspicious cat_id parameters: grep "cat_id=" /var/log/apache2/access.log'}, {'type': 'list_item', 'content': 'Use intrusion detection systems (IDS) or web application firewalls (WAF) with SQL injection detection rules enabled to alert on such attempts.'}] [1]
What immediate steps should I take to mitigate this vulnerability?
Immediate mitigation steps include restricting access to the vulnerable cat.php script and applying input validation or sanitization on the cat_id parameter to prevent SQL injection.
If possible, update XooGallery to a version where this vulnerability is fixed.
Additionally, consider deploying a web application firewall (WAF) to block malicious requests targeting this vulnerability.
Monitor logs for suspicious activity and block IP addresses exhibiting exploit attempts.