/

CVE-2026-97882

Severity:

HIGH RISK

(7.3)

SQL Injection (CWE-89) in CloudClassroom Faculty Login

CVE-2026-97882

Deferred

Vulnerability type

Category:

SQL Injection

CWE:

CWE-74, CWE-89

Impact:

Unauthorized database access and data manipulation

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-Project contains a SQL injection weakness in the Faculty Authentication flow, where the fid and pass parameters may influence database queries without sufficient protection. A remote attacker could exploit the issue to read or modify database records, depending on database permissions and application behavior.

Affected context

The weakness occurs in the Faculty Authentication component, specifically around loginlinkfaculty.php, when remotely supplied fid or pass values are incorporated into database operations without adequate parameterization or validation. Exposure depends on the affected login endpoint being reachable and the application database account having meaningful privileges.

Exploit preconditions

  • Attack surface: Remotely accessible Faculty Authentication endpoint
  • Required access: No prior authenticated access may be necessary if the login endpoint is publicly reachable
  • Trigger point: Processing of the fid or pass request arguments by loginlinkfaculty.php
  • Why exploitation is possible: User-controlled input may reach SQL query construction without reliable separation from query syntax

Why this happens

The underlying bug is an improper separation between untrusted request data and SQL statements. If authentication parameters are concatenated into queries or otherwise handled without parameterized database operations, input can alter the intended query logic. This maps primarily to CWE-89, SQL Injection, and is also related to CWE-74, Improper Neutralization of Special Elements in Output Used by a Downstream Component.

Potential impact

  • An attacker may bypass authentication checks
  • Sensitive database records could be disclosed
  • Database records could be modified or deleted
  • Application integrity and account data could be compromised
  • The database service or connected systems could be affected, depending on privileges

General mitigation guidance

Mitigation generally centers on removing SQL construction from untrusted

input and reducing the authority of the application database account.

Common defensive patterns include:

  • Use parameterized queries, prepared statements, or safe query-builder APIs
  • Apply allowlist-based validation appropriate to each parameter's expected type and format
  • Avoid dynamic SQL assembled from request values
  • Enforce secure-by-default authentication and error-handling behavior
  • Grant the application database account only the minimum required privileges
  • Keep database credentials and connection details outside user-controlled configuration
  • Use layered authorization checks rather than relying solely on query filters

How teams detect issues like this

Organizations can identify similar weaknesses through:

  • Static analysis rules for string concatenation or interpolation in SQL calls
  • Code review checks for request parameters reaching database APIs
  • Dynamic testing of authentication endpoints with invalid, unexpected, and boundary input
  • Database activity monitoring for anomalous queries, authentication patterns, or enumeration behavior
  • Policy enforcement requiring prepared statements or approved data-access libraries
  • Automated security review tools that flag unsanitized input flows into database operations

Sources

SourceLink
github.comgithub.com/smithbraz/PoC-CloudClassroom-AuthBypass
vuldb.comvuldb.com/cve/CVE-2026-97882
vuldb.comvuldb.com/submit/914555
vuldb.comvuldb.com/vuln/409901
vuldb.comvuldb.com/vuln/409901/cti

Frequently asked

questions

Yes. The reported weakness is associated with a remotely reachable Faculty

Authentication flow, although actual exposure depends on deployment routing,

access controls, and endpoint availability.

Not necessarily. Because the affected functionality is an authentication

endpoint, the relevant request may be reachable before successful login.

Deployment-specific controls can change this scope.

Use parameterized queries or prepared statements for every database operation,

validate inputs according to their expected types, and avoid constructing SQL

statements from request data.

Combine secure data-access APIs with least-privilege database accounts,

focused code review, static analysis, endpoint testing, and monitoring for

unusual database or authentication activity.

Find out what's already
exploitable in your codebase.