CVE-2018-25187
SQL Injection and Unauthorized Database Access in Tina
Publication date: 2026-03-06
Last updated on: 2026-03-16
Assigner: VulnCheck
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| tina4 | tina4_stack | 1.0.3 |
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': 'The Tina4 Stack version 1.0.3 contains multiple security flaws that allow attackers to access sensitive database files and perform SQL injection attacks without authentication.'}, {'type': 'paragraph', 'content': 'Attackers can directly download the SQLite database file named "kim.db" by sending HTTP GET requests, which exposes sensitive user information such as emails and hashed passwords.'}, {'type': 'paragraph', 'content': 'Additionally, the application executes SQL queries without proper input sanitization, enabling attackers to inject malicious SQL code through endpoints like "/kim/menu/get/1" to manipulate database queries.'}] [1]
How can this vulnerability impact me? :
This vulnerability can lead to unauthorized disclosure of sensitive user data, including user credentials and password hashes.
Attackers can exploit SQL injection to manipulate or extract data from the database, potentially compromising the integrity and confidentiality of the system.
Such unauthorized access and data manipulation can result in identity theft, unauthorized account access, and further exploitation of the affected system.
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 attempting to access the SQLite database file "kim.db" directly via HTTP GET requests to the web application, for example by requesting http://[target]/[PATH]/kim.db. If the file is accessible, it indicates the vulnerability is present.'}, {'type': 'paragraph', 'content': 'Additionally, testing for SQL injection can be done by sending crafted requests to the vulnerable endpoint "/kim/menu/get/1" with SQL injection payloads to see if the application executes unintended SQL commands.'}, {'type': 'list_item', 'content': 'Use curl or wget to try downloading the database file: curl http://[target]/[PATH]/kim.db'}, {'type': 'list_item', 'content': 'Send SQL injection test payloads to the menu endpoint, for example: curl "http://[target]/kim/menu/get/1\' OR \'1\'=\'1"'}] [1]
What immediate steps should I take to mitigate this vulnerability?
I don't know