# CVE-2018-25386: Sitejo HaPe PKH SQL injection in admin/media.php

Source: https://junglewise.ai/threats/cve-2018-25386-sitejo-hape-pkh-sql-injection-in-admin-media-php  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-05-29. Updated: 2026-05-29  
License: CC BY 4.0 with a link back

CVE-2018-25386 · Severity: high · CVSS 8.2 · Published 2026-05-29

HaPe PKH is a web-based application used for managing social assistance program data. Multiple security flaws allow attackers to interfere with the application's database, potentially leading to the theft of sensitive information such as user credentials, database names, and system versions. This could result in a complete compromise of the data managed by the platform.

## Quick answers

**Is CVE-2018-25386 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2018-25386 being exploited in the wild.

**How severe is CVE-2018-25386?** High severity, with a CVSS score of 8.2, published 29 May 2026.

**Which products and versions are affected?** Sitejo HaPe PKH 1.1 and earlier.

**Is there a fix for CVE-2018-25386?** No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.

**How is CVE-2018-25386 attacked?** It is attacked over the network, in a web application.

**Am I affected by CVE-2018-25386?** Check whether anything you run is named in the advisory. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Technical details

Multiple SQL injection vulnerabilities exist in HaPe PKH version 1.1 and earlier due to improper neutralization of special elements in the 'id' parameter within admin/media.php. An unauthenticated attacker can exploit these flaws via the 'desa' module (specifically the 'hapus' action). Additionally, authenticated users can exploit the 'pengurus', 'fasilitas', and 'kelompok' modules through various actions such as 'print' or 'edit'. Successful exploitation allows a remote attacker to execute arbitrary SQL commands, enabling the extraction of sensitive database metadata including the current DBMS user, database name, and version information. No official patch has been identified in the advisory.

## Affected products

- Sitejo HaPe PKH 1.1 and earlier

## Timeline

- 2018-10-12: disclosed: Initial exploit code published on Exploit-DB
- 2026-05-29: advisory: NVD and VulnCheck advisory published

## References

- [http://www.sitejo.id/](http://www.sitejo.id/)
- [https://sourceforge.net/projects/hape-pkh/files/latest/download](https://sourceforge.net/projects/hape-pkh/files/latest/download)
- [https://www.exploit-db.com/exploits/45588](https://www.exploit-db.com/exploits/45588)
- [https://www.vulncheck.com/advisories/hape-pkh-sql-injection-via-id-parameter-in-admin-media-php](https://www.vulncheck.com/advisories/hape-pkh-sql-injection-via-id-parameter-in-admin-media-php)
