/

CVE-2026-121502

Severity:

HIGH RISK

(7.3)

SQL Injection (CWE-89) in CloudClassroom-PHP faculty

CVE-2026-121502

Deferred

Vulnerability type

Category:

SQL Injection

CWE:

CWE-74, CWE-89

Impact:

Potential unauthorized database access or modification

Severity:

HIGH RISK

(7.3)

CVSS version:

3.1

Catch this CVE while code is being written

Detect vulnerable code directly in pull requests, so CVEs are fixed before merge.

Summary

CloudClassroom-PHP has a reported SQL injection vulnerability involving the deleteid argument in facultydetails.php. If the affected functionality is remotely reachable and handles this argument unsafely, an attacker may be able to alter database queries; the report also says a public exploit is available.

CloudClassroom-PHP has a reported SQL injection vulnerability involving the deleteid argument in facultydetails.php. If the affected functionality is remotely reachable and handles this argument unsafely, an attacker may be able to alter database queries; the report also says a public exploit is available.

Affected context

The reported issue is in an unidentified function in facultydetails.php in the CloudClassroom-PHP project. It concerns how the deleteid argument is handled in a database operation. The project uses rolling releases, and the report does not identify specific affected or updated versions.

The reported issue is in an unidentified function in facultydetails.php in the CloudClassroom-PHP project. It concerns how the deleteid argument is handled in a database operation. The project uses rolling releases, and the report does not identify specific affected or updated versions.

Exploit preconditions

  • Attack surface: The affected facultydetails.php functionality must be reachable remotely.
  • Required access: The report does not specify whether authentication or a particular privilege level is required.
  • Trigger point: The application processes the deleteid argument in the affected function.
  • Why exploitation may be possible: If this value is incorporated into a SQL statement without safe parameterization, input may alter the intended query.
  • Attack surface: The affected facultydetails.php functionality must be reachable remotely.
  • Required access: The report does not specify whether authentication or a particular privilege level is required.
  • Trigger point: The application processes the deleteid argument in the affected function.
  • Why exploitation may be possible: If this value is incorporated into a SQL statement without safe parameterization, input may alter the intended query.

Why this happens

SQL injection occurs when application data is treated as part of SQL syntax rather than as a value. This maps primarily to CWE-89: Improper Neutralization of Special Elements used in an SQL Command; CWE-74 describes the broader class of injection flaws. The report indicates that manipulating deleteid leads to SQL injection, but does not provide implementation details about the specific query or data-access code.

SQL injection occurs when application data is treated as part of SQL syntax rather than as a value. This maps primarily to CWE-89: Improper Neutralization of Special Elements used in an SQL Command; CWE-74 describes the broader class of injection flaws. The report indicates that manipulating deleteid leads to SQL injection, but does not provide implementation details about the specific query or data-access code.

Potential impact

  • An attacker may be able to read data beyond the intended access scope.
  • Database records could be altered or deleted, depending on the affected query and database permissions.
  • Application availability or data integrity could be affected.
  • The impact may be limited or amplified by the privileges of the database account.
  • An attacker may be able to read data beyond the intended access scope.
  • Database records could be altered or deleted, depending on the affected query and database permissions.
  • Application availability or data integrity could be affected.
  • The impact may be limited or amplified by the privileges of the database account.

General mitigation guidance

Common defensive patterns for SQL injection include:

  • Use parameterized queries or prepared statements so input is handled as data, not SQL syntax.
  • Apply allowlist validation when an argument is expected to have a constrained format, such as an identifier.
  • Avoid building SQL statements through string concatenation with request data.
  • Give application database accounts only the permissions needed for their functions.
  • Keep database access behind shared, reviewed data-access layers and avoid exposing unnecessary database errors.

Common defensive patterns for SQL injection include:

  • Use parameterized queries or prepared statements so input is handled as data, not SQL syntax.
  • Apply allowlist validation when an argument is expected to have a constrained format, such as an identifier.
  • Avoid building SQL statements through string concatenation with request data.
  • Give application database accounts only the permissions needed for their functions.
  • Keep database access behind shared, reviewed data-access layers and avoid exposing unnecessary database errors.

How teams detect issues like this

  • Use static analysis to identify SQL statements assembled through string concatenation or interpolation with request-controlled values.
  • Review the handling of deleteid from request entry point through database execution, checking for parameter binding and appropriate validation.
  • Apply code-review policies that require parameterized database operations.
  • Monitor application and database logs for unusual query errors or unexpected access patterns, while avoiding reliance on logs as the sole control.
  • Automated code review tools may help identify unsafe query construction patterns.
  • Use static analysis to identify SQL statements assembled through string concatenation or interpolation with request-controlled values.
  • Review the handling of deleteid from request entry point through database execution, checking for parameter binding and appropriate validation.
  • Apply code-review policies that require parameterized database operations.
  • Monitor application and database logs for unusual query errors or unexpected access patterns, while avoiding reliance on logs as the sole control.
  • Automated code review tools may help identify unsafe query construction patterns.

Sources

SourceLink
github.comgithub.com/rmsbpro/Advisory/blob/main/deleteid-sqli-family.md
vuldb.comvuldb.com/cve/CVE-2026-121502
vuldb.comvuldb.com/submit/1019365
vuldb.comvuldb.com/vuln/430284
vuldb.comvuldb.com/vuln/430284/cti

Frequently asked

questions

The report says the attack may be initiated remotely. Exploitability depends on whether the affected functionality is reachable and on any access controls in the deployment.

The report does not specify authentication requirements. Whether access is needed depends on how facultydetails.php is exposed and protected.

Use parameterized queries for database operations and validate identifiers against the expected format. Avoid inserting request data directly into SQL.

Use reviewed data-access patterns, least-privilege database accounts, and static analysis and code-review checks for dynamically constructed SQL.

The report says the attack may be initiated remotely. Exploitability depends on whether the affected functionality is reachable and on any access controls in the deployment.

The report does not specify authentication requirements. Whether access is needed depends on how facultydetails.php is exposed and protected.

Use parameterized queries for database operations and validate identifiers against the expected format. Avoid inserting request data directly into SQL.

Use reviewed data-access patterns, least-privilege database accounts, and static analysis and code-review checks for dynamically constructed SQL.

Find out what's already
exploitable in your codebase.