Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessLocate exposed ezform.php endpoint
-
DeliverySend crafted idFormMain/id parameter
-
ExploitInject SQL via unsanitized concatenation
-
ExecutionExtract or modify database records
-
ImpactExfiltrate sensitive study data
Vulnerability Assessment
| Weakness |
CWE
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Persistence The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires network reachability to the /substudy/ezform.php endpoint and the ability to supply the idFormMain (line 14) or id (line 49) request parameter - no authentication, user interaction, or non-default configuration is needed per the CVSS vector (PR:N/UI:N/AC:L). The endpoint must simply be exposed and processing these parameters against the backend database. The principal limiting factor is exposure and prevalence, not technical prerequisites: the application is an obscure Thai palliative-care research tool with a very small installed base, so realistic risk depends almost entirely on whether an instance is internet-accessible rather than on any special enabling feature. |
| Impact | The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H, base 9.8) indicates unauthenticated network exploitation with low complexity and total confidentiality, integrity and availability impact - consistent with a direct, unauthenticated SQLi. SSVC reinforces this: exploitation status 'poc', Automatable 'yes', Technical Impact 'total'. However the EPSS score is only 0.08% (24th percentile), which conflicts with the raw severity; this gap is best explained by the product being a highly obscure, low-footprint application rather than by any technical mitigation - few internet-exposed instances means low observed exploitation activity, not low exploitability. The vulnerability is not on CISA KEV, so there is no confirmed active exploitation. Net: technically a genuine high-severity, easily-automatable SQLi, but real-world aggregate risk is bounded by extremely limited deployment; for any organization actually running this software it should be treated as a top-priority fix. |
| Exploit ScenarioDerived | A remote, unauthenticated attacker sends a crafted HTTP request to /substudy/ezform.php with a malicious idFormMain or id value containing SQL syntax (e.g., a UNION-based or boolean/time-based blind payload). Because the parameter is concatenated directly into the query, the attacker can dump patient/study records, modify or delete data, or potentially leverage database features for further access. SSVC notes a proof-of-concept exists and the attack is automatable, so mass scanning tools could exploit exposed instances with no user interaction. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 23, 2026
SQL injection in the damasac thaipalliative_lte application (through version 3.0) allows remote attackers to execute arbitrary SQL commands by supplying the idFormMain and id parameters to /substudy/ezform.php, which are concatenated directly into database queries without sanitization. No public exploit identified at time of analysis, though SSVC records a proof-of-concept exists and the flaw is fully automatable; EPSS is low at 0.08% (24th percentile), reflecting the product's obscurity rather than low technical severity.
RemediationAI
No vendor-released patch identified at time of analysis - the references point to source code and third-party advisories (NVD, VulDB, and the theemperorspath advisory) rather than a tagged fixed release. Operators should treat all versions through 3.0 as vulnerable and, as the primary fix, rewrite the ezform.php queries to use parameterized statements (PDO or mysqli prepared statements) so idFormMain and id are bound as parameters rather than concatenated; where source modification is possible, add strict server-side validation casting these identifiers to integers. As compensating controls until a fix is deployed: restrict network access to /substudy/ezform.php via authentication or IP allowlisting (trade-off: may block legitimate remote data entry), and deploy a WAF rule to block SQL metacharacters in the idFormMain and id parameters (trade-off: signature-based filtering can be bypassed and may cause false positives). Review the researcher advisory at https://github.com/theemperorspath/advisories/blob/main/2026/CVE-2026-38581.md for exploit specifics before validating any mitigation.
Affected VersionsENISA
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The affected code is a PHP web application (thaipalliative_lte, apparently a Thai palliative-care substudy data-collection form system) built around the ezform.php endpoint under /substudy/. The root cause is CWE-89 (Improper Neutralization of Special Elements used in an SQL Command). At line 14 the idFormMain request parameter, and at line 49 the id parameter, are interpolated directly into SQL statements without parameterized queries or input escaping, so attacker-controlled input is parsed as SQL syntax. This is a classic string-concatenation SQLi pattern common in legacy PHP/MySQL codebases that predate the use of PDO/mysqli prepared statements.
Know when PHP gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Unauthenticated remote SQLi via a directly-exposed parameter (AV:N/AC:L/PR:N/UI:N); direct DB access yields total confidentiality, integrity and availability impact.
Primary rating from Vendor (mitre).
CVSS VectorVendor: mitre
Lifecycle Timeline
2DescriptionCVE.org
SQL Injection vulnerability in damasac thaipalliative_lte through version 3.0 allows remote attackers to execute arbitrary SQL commands via the idFormMain parameter to /substudy/ezform.php (line 14) and the id parameter (line 49). The parameters are concatenated directly into SQL queries without sanitization or parameterized statements.
Articles & Coverage 1
Executive ViewAI
SQL injection vulnerability (CVSS 9.8) in damasac thaipalliative_lte application enables remote attackers to execute arbitrary database queries, threatening data confidentiality and system integrity. No vendor patch is available, creating sustained risk to healthcare data and operational continuity.
Deploy Web Application Firewall (WAF) with rules blocking SQL injection payloads in vulnerable parameters; implement strict input validation and parameterized queries if application code is accessible; restrict network access to the application; enable database query logging and alerting for anomalous activity; consider network segmentation to limit lateral movement if database is compromised.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.
In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it
sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not
(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear
The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by
ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C
Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au
Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c
Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
EUVD-2026-36241
GHSA-vvmc-8xvf-rg7j
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB