Back to Labs
Security Advisory

CVE-2022-43162

About

Online Diagnostic Lab Management System v1.0 was discovered to contain a SQL injection vulnerability via the id parameter at /tests/view_test.php.

Weakness (CWE):CWE-89

Rainforest analyst review

Online Diagnostic Lab Management System 1.0 has a SQL injection in the id parameter of /tests/view_test.php. An attacker who can reach that endpoint with the required privilege can manipulate the query to read, alter, or destroy database contents, which in a lab management app means patient and test records. The metrics list high privileges as a precondition, so this is an authenticated user abusing the parameter rather than an anonymous internet attack.

This is a small, purpose-built PHP application, the kind that shows up in narrow deployments rather than across the internet at scale, so it doesn't attract the botnet-scanning attention that a popular CMS does. The privilege requirement further narrows the realistic attacker to someone who already has an account. The sensitivity of the data it holds is the reason to care despite the modest exploitation tempo.

Given the niche footprint, our first move is simply establishing whether we run this application anywhere at all, and if so whether it is internet-reachable. For a bespoke app like this, the highest-leverage control is often removing external exposure and putting parameterized-query enforcement or a WAF rule in front of view_test.php, since a v1.0 project may not see timely upstream fixes.

References

Related CVEs

Frequently asked questions

What is CVE-2022-43162?

Online Diagnostic Lab Management System v1.0 was discovered to contain a SQL injection vulnerability via the id parameter at /tests/view_test.php.

How severe is CVE-2022-43162?

CVE-2022-43162 carries a CVSS 3.1 base score of 7.2, rated high. On the Rainforest Risk Index — which weighs the severity alongside how easy the flaw is to reach and how broad its impact is — it scores 76 out of 100, in the high band.

How is CVE-2022-43162 exploited?

According to the CVSS vector (CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H): attack vector Network, attack complexity Low, privileges required High, user interaction None. Impact on confidentiality High, integrity High and availability High.

Which products are affected by CVE-2022-43162?

Public advisories list the following as affected: online diagnostic lab management system. Check the references on this page for the exact versions each vendor confirms.

How do I fix CVE-2022-43162?

Apply the fix the vendor published — the references on this page link to the primary advisories and patches. When patching can't happen right away, reduce the exposure of the affected component and watch it for exploitation attempts. Rainforest customers see this vulnerability correlated to their own assets and prioritized by real exposure, not by score alone.

Empower Your Security Strategy with Rainforest

Discover vulnerabilities early, prioritize critical threats, and protect what truly matters. Rainforest streamlines your security operations, saving you time and reducing costs, so you can focus on what drives your business forward.

Share this:LinkedInX Email