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-25405: Multiple SQL Injections in eNdonesia Portal 8.7
CVE-2018-25405: Multiple SQL Injections in eNdonesia Portal 8.7
SECURITYHIGHCVE-2018-25405

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,...

Dylan H.

Security Team

May 31, 2026
4 min read

Affected Products

  • eNdonesia Portal 8.7

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

Multiple SQL injection vulnerabilities originally discovered in 2018 have been formally assigned as CVE-2018-25405 with a CVSS score of 8.2 (High). The flaws reside in eNdonesia Portal version 8.7, an open-source PHP-based content management system.

The vulnerabilities allow unauthenticated attackers to execute arbitrary SQL queries by injecting malicious payloads through several parameters of the mod.php script — specifically artid, cid, did, contid, and aboutid — enabling extraction of sensitive database contents across multiple content modules.


Vulnerability Overview

AttributeValue
CVE IDCVE-2018-25405
CVSS Score8.2 (High)
CWE ClassificationCWE-89 — SQL Injection
Affected SoftwareeNdonesia Portal 8.7
Attack VectorNetwork
Authentication RequiredNone (unauthenticated)
Affected Parametersartid, cid, did, contid, aboutid
NVD PublishedMay 30, 2026
Original Flaw Discovery2018

Technical Details

The vulnerability exists across multiple request handlers in mod.php. Each of the affected parameters is passed directly into SQL queries without sanitization or prepared statements. This creates a wide attack surface, as multiple independent injection points are available across different content modules.

Affected parameters and example attack vectors:

# Article ID injection
GET /mod.php?mod=publisher&artid=1 UNION SELECT 1,username,password FROM admin_users--

# Category ID injection
GET /mod.php?mod=artikel&cid=1' AND SLEEP(5)--

# Download ID injection
GET /mod.php?mod=download&did=1 UNION SELECT table_name,2,3 FROM information_schema.tables--

# Content ID injection
GET /mod.php?mod=page&contid=1' OR '1'='1

# About ID injection
GET /mod.php?mod=about&aboutid=1 UNION SELECT user(),version(),3--

Successful exploitation can allow an attacker to:

  • Extract database contents — administrative credentials, user data, site content
  • Enumerate the full database schema — all tables and columns via information_schema
  • Determine the database version and user — useful for further exploitation planning
  • Potentially write files — if the database user has FILE privileges and the web root is writable

Context and Impact

eNdonesia Portal is an Indonesian open-source CMS that was popular among Indonesian web developers in the 2000s and 2010s. Version 8.7 is a legacy release, and active deployments in 2026 are limited primarily to older Indonesian community sites and legacy web hosting environments. The formal NVD cataloguing of this 2018 flaw ensures it appears in modern vulnerability scanners.

Who is affected:

  • Self-hosted instances of eNdonesia Portal 8.7 accessible over the internet
  • Legacy Indonesian community and news portals still running the affected version
  • Any forks or customizations incorporating the vulnerable mod.php parameter handling

Practical risk: The breadth of the attack surface — five distinct injection parameters across multiple modules — increases the likelihood that at least one parameter is accessible in any given deployment configuration. Even if some modules are disabled, others may remain exploitable.


Remediation

  1. Upgrade or migrate — update eNdonesia Portal to a patched version, or migrate to a actively maintained CMS
  2. Apply parameterized queries — refactor all affected parameter handling in mod.php to use prepared statements
  3. Input validation — enforce strict integer validation on ID parameters (e.g., intval()) before use in queries
  4. Web application firewall — deploy WAF rules to detect SQL injection patterns in the affected parameters

Secure coding pattern:

// Vulnerable pattern
$artid = $_GET['artid'];
$query = "SELECT * FROM articles WHERE id = '$artid'";
 
// Secure pattern — parameterized query
$stmt = $pdo->prepare("SELECT * FROM articles WHERE id = :artid");
$stmt->bindParam(':artid', $_GET['artid'], PDO::PARAM_INT);
$stmt->execute();

Key Takeaways

  1. CVE-2018-25405 is a CVSS 8.2 High multi-parameter SQL injection flaw in eNdonesia Portal 8.7, now formally catalogued in NVD
  2. Five injection points — artid, cid, did, contid, and aboutid parameters in mod.php are all affected
  3. No authentication required — all parameters are exploitable by unauthenticated attackers
  4. Remediation: Upgrade, apply parameterized queries, or migrate to a maintained CMS

Sources

  • CVE-2018-25405 — NIST NVD
#CVE-2018-25405#SQL Injection#eNdonesia Portal#NVD#Web Security#Vulnerability

Related Articles

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

CVE-2018-25165: SQL Injection Vulnerability Disclosed in

A SQL injection vulnerability in Galaxy Forces MMORPG version 0.5.8 has been formally catalogued by NVD, enabling authenticated attackers to extract...

4 min read
Back to all Security Alerts