Skip to main content
Live Webinar with SANS (June 25)— Agentic CTI Automation for Fun & ProfitRegister Free
Mallory
High

SQL Injection in Imaster Patient Records Management System complaints.php (id parameter)

IdentifiersCVE-2025-41004CWE-89· Improper Neutralization of Special…

Imaster’s Patient Records Management System contains a SQL injection vulnerability in the administrative endpoint "/projects/hospital/admin/complaints.php". The issue is triggered by improper neutralization of special elements in SQL commands constructed using the user-supplied "id" parameter, allowing an attacker to inject SQL when the application processes requests to this endpoint.

Share:
For your environment

Are you exposed to this one?

Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.

ANALYST BRIEF

Impact, mitigation & remediation

What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation enables SQL injection against the backend database, which may allow an attacker to read and modify database contents. Depending on the application/database configuration, this can also potentially lead to authentication bypass and, in some environments, escalation to remote code execution via database features or chained weaknesses.

Mitigation

If you can’t patch tonight, do this now.

Until a vendor fix is available, restrict access to "/projects/hospital/admin/complaints.php" (and related admin paths) to trusted networks/users (e.g., VPN, IP allowlisting), ensure strong authentication/authorization controls for admin endpoints, deploy WAF rules to detect/block SQLi attempts targeting the "id" parameter, and increase monitoring/logging for suspicious requests to the endpoint.

Remediation

Patch, then assume compromise.

Apply the vendor-provided fix/update when available. Refactor the affected code path in complaints.php to use parameterized queries/prepared statements for the "id" parameter, enforce strict server-side validation (e.g., integer type enforcement/allowlisting), and remove any dynamic SQL concatenation patterns across similar endpoints.
PUBLIC EXPLOITS

Exploits

No public exploits tracked yet. Mallory keeps watching.

VALID 0 / 0 TOTALView more in app

No public exploit code observed for this vulnerability.

EXPOSURE SURFACE

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
ImasterPatient Records Management Systemapplication

Vendor-confirmed product mapping. Mallory continuously reconciles this list against your asset inventory.

What this page doesn’t show

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, which detections to deploy, and what to do tonight.
Exposure mapping

Query your assets running an affected version, and investigate the blast radius.

Threat actor evidence

Every observed campaign linking this CVE to a named adversary.

Associated malware

Malware families riding this exploit, with evidence and IOCs.

Detection signatures

YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.

Vendor-by-vendor mapping

Cross-references every affected SKU, including bundled OEM variants.

Social activity2

Community discussion across Reddit, Mastodon, and other social sources.