Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2018-25187

CVE-2018-25187: Tina4 Stack SQL Injection Vulnerability

CVE-2018-25187 is a SQL injection flaw in Tina4 Stack 1.0.3 that allows unauthenticated attackers to access database files and manipulate queries. This article covers technical details, affected versions, and mitigation.

Published: March 13, 2026

CVE-2018-25187 Overview

Tina4 Stack 1.0.3 contains multiple vulnerabilities allowing unauthenticated attackers to access sensitive database files and execute SQL injection attacks. Attackers can directly request the kim.db database file to retrieve user credentials and password hashes, or inject SQL code through the menu endpoint to manipulate database queries.

Critical Impact

Unauthenticated attackers can extract user credentials, password hashes, and manipulate database queries, leading to full compromise of sensitive data and potential unauthorized access to the application.

Affected Products

  • Tina4 Stack version 1.0.3

Discovery Timeline

  • 2026-03-06 - CVE CVE-2018-25187 published to NVD
  • 2026-03-09 - Last updated in NVD database

Technical Details for CVE-2018-25187

Vulnerability Analysis

This vulnerability represents a compound security issue combining two distinct attack vectors within Tina4 Stack 1.0.3. The first vulnerability allows direct access to the kim.db SQLite database file through an unauthenticated HTTP request, exposing stored user credentials and password hashes. The second vulnerability is a classic SQL injection flaw (CWE-89) in the menu endpoint that permits attackers to inject arbitrary SQL commands into database queries.

The database file exposure vulnerability stems from improper access controls that fail to restrict direct requests to sensitive application files. Combined with the SQL injection vulnerability, an attacker gains both read access to existing data and the ability to manipulate the database through crafted queries.

Root Cause

The root cause is twofold: insufficient access control mechanisms that expose the SQLite database file (kim.db) to unauthenticated requests, and improper input sanitization in the menu endpoint that fails to validate or escape user-supplied input before incorporating it into SQL queries. This combination of CWE-89 (SQL Injection) and insecure direct object reference allows attackers to both extract and manipulate sensitive data.

Attack Vector

The attack is network-based and requires no authentication or user interaction. An attacker can exploit this vulnerability by:

  1. Database File Download: Directly requesting the kim.db file path to download the complete SQLite database containing user credentials and password hashes.

  2. SQL Injection: Sending specially crafted requests to the menu endpoint with malicious SQL payloads that manipulate database queries, potentially allowing data extraction, modification, or deletion.

The network-accessible nature of this vulnerability means any attacker with network access to the Tina4 Stack application can exploit these flaws without requiring any privileges or credentials.

Detection Methods for CVE-2018-25187

Indicators of Compromise

  • HTTP requests attempting to access database files such as kim.db or other .db file extensions directly
  • Unusual SQL query patterns or errors in application logs indicating injection attempts
  • Requests to the menu endpoint containing SQL syntax characters such as single quotes, semicolons, or UNION SELECT statements
  • Unexpected database dumps or credential harvesting activities detected in network traffic

Detection Strategies

  • Implement web application firewall (WAF) rules to detect and block requests containing SQL injection patterns targeting the menu endpoint
  • Monitor access logs for direct requests to database files or other sensitive application resources
  • Deploy intrusion detection signatures for known SQL injection payloads and database file access attempts
  • Analyze application logs for SQL syntax errors that may indicate failed injection attempts

Monitoring Recommendations

  • Enable detailed logging on the web server to capture all requests to sensitive file paths
  • Set up alerts for requests containing common SQL injection characters or keywords
  • Monitor database activity for anomalous query patterns or unauthorized data access
  • Implement network traffic analysis to detect large file downloads that may indicate database exfiltration

How to Mitigate CVE-2018-25187

Immediate Actions Required

  • Upgrade Tina4 Stack to the latest available version that addresses these vulnerabilities
  • Restrict access to database files by moving them outside the web root or implementing proper access controls
  • Deploy a web application firewall with SQL injection protection rules
  • Review and audit all user accounts for signs of compromise and reset credentials if necessary

Patch Information

Consult the VulnCheck Advisory on SQL Injection for detailed remediation guidance and patch availability. Additionally, the Exploit-DB #45833 entry provides technical details about the vulnerability that can inform mitigation strategies.

Workarounds

  • Move the kim.db database file outside of the web-accessible directory to prevent direct download
  • Implement server-side access controls to deny direct requests to .db files and other sensitive extensions
  • Apply input validation and parameterized queries to the menu endpoint to prevent SQL injection
  • Use a reverse proxy or WAF to filter malicious requests before they reach the application
  • Restrict network access to the Tina4 Stack application to trusted IP ranges where possible
bash
# Example Apache configuration to block direct database file access
<FilesMatch "\.(db|sqlite|sqlite3)$">
    Order allow,deny
    Deny from all
</FilesMatch>

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeSQLI

  • Vendor/TechTina4 Stack

  • SeverityHIGH

  • CVSS Score8.8

  • EPSS Probability0.08%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-89
  • Technical References
  • Exploit-DB #45833

  • VulnCheck Advisory on SQL Injection
  • Related CVEs
  • CVE-2018-25186: Tina4 Stack CSRF Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English