# SourceCodester Online Courseware deactivateteach.php sql injection

CVE record · `CVE-2024-3418`

- **Identifiers:** `CVE-2024-3418`
- **State:** Confirmed
- **Severity:** CVSS 6.3 Medium
- **Critical:** No
- **CNA:** VulDB
- **Weakness (CWE):** [CWE-89](https://cwe.mitre.org/data/definitions/89.html)
- **Tags:** [SQL injection](https://agentprime.io/advisories/tag/sql-injection.md)
- **Technologies:** [SourceCodester Online Courseware](https://agentprime.io/advisories/technology/sourcecodester-online-courseware.md)
- **Published:** 7 Apr 2024
- **Updated:** 3 Nov 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: VulDB) at 7 Apr 2024, 09:31 UTC. agentprime has not analysed this yet, so whether it affects any app is not known. This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it.

## Affected products, as the CNA wrote them

- Vendor: SourceCodester. Product: Online Courseware.
  - affected: `1.0`

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> SourceCodester Online Courseware 1.0 is vulnerable to SQL injection in the admin/deactivateteach.php file, where the selector argument is not properly handled. The source does not say what privileges are required, but the attack can be launched remotely and the exploit has been publicly disclosed, so an attacker could likely manipulate database queries. The source lists no fixed version or workaround.

Written 15 Nov 2026.

## Not analysed yet

We haven’t published our own analysis of this CVE. If a person reviews it, this page will say what’s affected and what has to be true for it to matter.

## Severity and exploitation

- 6.3 Medium, CVSS 3.1: `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L`, from CNA (VulDB) (used for this record)
- 6.3 Medium, CVSS 3.0: `CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L`, from CNA (VulDB)
- 6.5 Medium, CVSS 2.0: `AV:N/AC:L/Au:S/C:P/I:P/A:P`, from CNA (VulDB)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0071, the 53rd percentile, on 15 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 7 Apr 2024, 09:31 UTC: [Confirmed by the CVE List](https://www.cve.org/CVERecord?id=CVE-2024-3418)

## Sources

- [CVE List: CVE-2024-3418](https://www.cve.org/CVERecord?id=CVE-2024-3418)
- [NVD: CVE-2024-3418](https://nvd.nist.gov/vuln/detail/CVE-2024-3418)

### References from the CNA

- <https://vuldb.com/?id.259590> (vdb-entry, technical-description)
- <https://vuldb.com/?ctiid.259590> (signature, permissions-required)
- <https://vuldb.com/?submit.311596> (third-party-advisory)
- <https://github.com/thisissuperann/Vul/blob/Online-Courseware/Online-Courseware-03.md> (exploit)

Facts on this page come from the CVE List as the CNA published them, with CVSS from the sources named above, CISA KEV and FIRST EPSS. Vendors, products and versions are shown as the CNA wrote them. We don’t reproduce the CVE’s description.

## Check whether this affects you

This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it. Compare the affected versions above with what you run.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), `get_advisory` returns this record and `search_advisories` finds related ones. Setup: <https://agentprime.io/mcp.md>
- As JSON: <https://api.agentprime.io/v1/advisories/CVE-2024-3418>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

The web page: <https://agentprime.io/advisories/CVE-2024-3418/>. Everything for agents: <https://agentprime.io/llms.txt>.
