High
Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2021-40309
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 08:56 UTC · Revision 1
Source evidence
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.
osv:CVE-2021-40309
Complete source record
{
"id": "e4e09b32be6162ad431682177e93ec46081c105b8a9edf7c1d19011d40c8b484",
"url": "https://osv.dev/vulnerability/CVE-2021-40309",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2021-40309",
"summary": "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.",
"evidence": "osv:CVE-2021-40309",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2021-40309",
"aliases": [
"CVE-2021-40309"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/OS4ED/openSIS-Classic",
"type": "GIT",
"events": [
{
"introduced": "0a2d61fff35900fc91566e6621d49959599bcb4e"
},
{
"last_affected": "0a2d61fff35900fc91566e6621d49959599bcb4e"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:os4ed:opensis:8.0:*:*:*:community:*:*:*",
"range": [
{
"introduced": "8.0"
},
{
"last_affected": "8.0"
}
],
"source": "CPE_STRING"
}
]
}
}
],
"versions": [
"8.0",
"V8.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-40309.json"
}
},
{
"ranges": [
{
"repo": "https://github.com/os4ed/opensis-classic",
"type": "GIT",
"events": [
{
"introduced": "0a2d61fff35900fc91566e6621d49959599bcb4e"
},
{
"last_affected": "0a2d61fff35900fc91566e6621d49959599bcb4e"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:os4ed:opensis:8.0:*:*:*:community:*:*:*",
"range": [
{
"introduced": "8.0"
},
{
"last_affected": "8.0"
}
],
"source": "CPE_STRING"
}
]
}
}
],
"versions": [
"8.0",
"V8.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-40309.json"
}
}
],
"modified": "2026-10-24T10:50:42.761398715Z",
"provider": "osv",
"references": [
"https://github.com/OS4ED/openSIS-Classic",
"https://github.com/MiSERYYYYY/Vulnerability-Reports-and-Disclosures/blob/main/OpenSIS-Community-8.0.md",
"https://www.exploit-db.com/exploits/50249"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2021-40309",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 442511,
"published_at": "2021-09-24T16:15:08.417+00:00"
}