CVE-2021-40309 SQL injection in n/a

High 8.8 Published Updated

Authenticated attackers can inject SQL via the cp_id_miss_attn parameter in OpenSIS Take Attendance functionality to manipulate or access database records.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2021-40309?

CVE-2021-40309 is a high-severity SQL injection vulnerability in Os4ed Opensis, published on 24 Sep 2021. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

A SQL injection vulnerability exists in the Take Attendance functionality of OS4Ed's OpenSIS 8.0. allows an attacker to inject their own SQL query. The cp_id_miss_attn parameter from TakeAttendance.php is vulnerable to SQL injection. An attacker can make an authenticated HTTP request as a user with access to "Take Attendance" functionality to trigger this vulnerability.

Weakness: CWE-89

Which versions are affected by CVE-2021-40309?

It affects 1 product.

Products include Os4ed Opensis.

How do I fix CVE-2021-40309?

No fix has been published for CVE-2021-40309 yet. Limit exposure of the affected software until one is available.

Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.

Is CVE-2021-40309 being exploited?

There is no known exploitation of CVE-2021-40309 in the wild and no public exploit code.

All Os4ed Opensis vulnerabilities

Sources

Also known as GHSA-mmj6-5g2w-6rvq.

Is CVE-2021-40309 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free