CVE-2018-25165
SQL Injection in Galaxy Forces MMORPG Allows Data Extraction
Publication date: 2026-03-06
Last updated on: 2026-03-06
Assigner: VulnCheck
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| galaxy_forces | galaxy_forces_mmorpg | 0.5.8 |
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?
[{'type': 'paragraph', 'content': "Galaxy Forces MMORPG version 0.5.8 contains an SQL injection vulnerability in the ads.php script, specifically through the 'type' parameter."}, {'type': 'paragraph', 'content': "Authenticated attackers can send crafted POST requests with malicious SQL code in the 'type' parameter to execute arbitrary SQL queries on the database."}, {'type': 'paragraph', 'content': 'This allows attackers to extract sensitive information such as database usernames, database names, and version details by exploiting SQL injection techniques like UNION SELECT and conditional ELT functions.'}] [1]
How can this vulnerability impact me? :
This vulnerability can lead to unauthorized disclosure of sensitive database information including usernames, database names, and version details.
Such data exposure can facilitate further attacks against the application or its underlying infrastructure, potentially compromising the security and integrity of the system.
Attackers exploiting this flaw may gain insights that help them escalate privileges or manipulate the database, leading to data breaches or service disruption.
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 sending crafted POST requests to the ads.php endpoint of the Galaxy Forces MMORPG 0.5.8, specifically targeting the 'type' parameter with SQL injection payloads."}, {'type': 'paragraph', 'content': "An example detection method involves using tools like curl or specialized SQL injection testing tools to send POST requests with parameters such as action=add, title, type, time, and message, injecting SQL code into the 'type' parameter."}, {'type': 'list_item', 'content': 'Use curl to send a POST request with a crafted SQL payload in the \'type\' parameter, for example:\ncurl -X POST -d "action=add&title=test&type=\' UNION SELECT user(), database(), version()-- &time=123&message=test" http://target/ads.php'}, {'type': 'list_item', 'content': "Monitor network traffic for unusual POST requests to ads.php containing suspicious SQL keywords in the 'type' parameter."}] [1]
What immediate steps should I take to mitigate this vulnerability?
[{'type': 'paragraph', 'content': 'Immediate mitigation steps include restricting access to the ads.php endpoint to trusted users only, as the vulnerability requires authenticated access.'}, {'type': 'paragraph', 'content': "Additionally, input validation and sanitization should be implemented on the 'type' parameter to prevent SQL injection."}, {'type': 'paragraph', 'content': 'If possible, update or patch the Galaxy Forces MMORPG software to a version where this vulnerability is fixed.'}, {'type': 'paragraph', 'content': "As a temporary measure, consider using web application firewalls (WAF) to detect and block malicious SQL injection attempts targeting the 'type' parameter."}] [1]