Description
A vulnerability was detected in CodeAstro QR Code Attendance Management System 1.0. This affects the function Save of the file app/Controllers/UserController.php. The manipulation of the argument role_id results in improper privilege management. The attack can be executed remotely. The exploit is now public and may be used.
Published: 2026-09-20
Score: 5.1 Medium
EPSS: n/a
KEV: No
Impact: Privilege Escalation
Action: Apply Patch
AI Analysis

Impact

CodeAstro’s QR Code Attendance Management System version 1.0 contains a flaw in the Save method of UserController.php where the role_id argument may be manipulated. This improper privilege management allows an attacker to grant themselves a higher role within the application, effectively escalating their permissions. The weakness is categorized under CWE‑266 and CWE‑269, indicating a failure to enforce correct authorization and an insecure delegation of privileges.

Affected Systems

All installations of CodeAstro QR Code Attendance Management System with the default configuration and version 1.0 are affected. The vulnerability resides in the app/Controllers/UserController.php file and is present in the standard package distributed from the vendor’s website and public repositories.

Risk and Exploitability

The CVSS v3.1 score of 5.1 reflects a moderate severity. The EPSS score is unavailable, but the write‑up confirms that the exploit code is publicly available, implying that a remote actor can trigger the escalation. The vulnerability is not listed in the CISA KEV catalog, yet the existence of a public exploit raises the risk of widespread misuse if patches are not applied.

Generated by OpenCVE AI on September 20, 2026 at 20:28 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update the CodeAstro QR Code Attendance Management System to the most recent release that fixes the role_id privilege issue.
  • If a patch is not yet available, enforce stricter access controls on the Save endpoint so that only administrators may invoke it, thereby preventing unauthorized role assignment.
  • Add server‑side validation for the role_id parameter to ensure only allowed values are accepted, mitigating the possibility of privilege escalation through parameter tampering.

Generated by OpenCVE AI on September 20, 2026 at 20:28 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sun, 20 Sep 2026 19:30:00 +0000

Type Values Removed Values Added
Description A vulnerability was detected in CodeAstro QR Code Attendance Management System 1.0. This affects the function Save of the file app/Controllers/UserController.php. The manipulation of the argument role_id results in improper privilege management. The attack can be executed remotely. The exploit is now public and may be used.
Title CodeAstro QR Code Attendance Management System UserController.php save privileges management
First Time appeared Codeastro
Codeastro qr Code Attendance Management System
Weaknesses CWE-266
CWE-269
CPEs cpe:2.3:a:codeastro:qr_code_attendance_management_system:*:*:*:*:*:*:*:*
Vendors & Products Codeastro
Codeastro qr Code Attendance Management System
References
Metrics cvssV2_0

{'score': 5.8, 'vector': 'AV:N/AC:L/Au:M/C:P/I:P/A:P/E:POC/RL:ND/RC:UR'}

cvssV3_0

{'score': 6.6, 'vector': 'CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:L/E:P/RL:X/RC:R'}

cvssV3_1

{'score': 6.6, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:L/E:P/RL:X/RC:R'}

cvssV4_0

{'score': 5.1, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:L/VI:L/VA:L/SC:L/SI:L/SA:L/E:P'}


Subscriptions

Codeastro Qr Code Attendance Management System
cve-icon MITRE

Status: PUBLISHED

Assigner: VulDB

Published:

Updated: 2026-09-20T19:15:08.082Z

Reserved: 2026-09-19T21:46:53.131Z

Link: CVE-2026-94048

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-20T20:16:54.510

Modified: 2026-09-20T20:16:54.510

Link: CVE-2026-94048

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-20T20:30:05Z

Weaknesses
  • CWE-266

    Incorrect Privilege Assignment

  • CWE-269

    Improper Privilege Management