A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2024-9082

CVE-2024-9082: Online Eyewear Shop Auth Bypass Vulnerability

CVE-2024-9082 is an authentication bypass flaw in Online Eyewear Shop 1.0 allowing attackers to gain unauthorized access via the User Creation Handler. This article covers technical details, affected versions, and mitigation.

Published: May 26, 2026

CVE-2024-9082 Overview

CVE-2024-9082 affects SourceCodester Online Eyewear Shop 1.0, a PHP-based e-commerce application developed by oretnom23. The vulnerability resides in the User Creation Handler component at /classes/Users.php?f=save. An attacker can manipulate the Type argument with the value 1 to bypass authorization controls during user creation. The flaw enables remote exploitation without requiring elevated privileges. Public disclosure of the exploit increases the likelihood of opportunistic attacks against exposed installations. The issue is classified under [CWE-266] Incorrect Privilege Assignment and [CWE-863] Incorrect Authorization.

Critical Impact

Remote attackers with low privileges can manipulate the Type parameter during user creation to escalate to administrative roles, compromising the application's access control model.

Affected Products

  • SourceCodester Online Eyewear Shop 1.0
  • oretnom23 online_eyewear_shop 1.0
  • CPE: cpe:2.3:a:oretnom23:online_eyewear_shop:1.0

Discovery Timeline

  • 2024-09-22 - CVE-2024-9082 published to NVD
  • 2025-09-30 - Last updated in NVD database

Technical Details for CVE-2024-9082

Vulnerability Analysis

The vulnerability stems from missing authorization checks in the user save handler. The save function in /classes/Users.php accepts a Type parameter from client-side input and assigns it directly to the user record. Submitting Type=1 provisions the new account with an elevated role rather than the default privilege level. The application fails to verify whether the requesting session has permission to assign that role. This is a server-side trust boundary violation where attacker-controlled input dictates authorization state.

Root Cause

The root cause is improper authorization combined with incorrect privilege assignment. The handler treats the Type field as trusted client input instead of restricting role assignment to authenticated administrators. The application lacks role-based access control enforcement on sensitive write operations, allowing low-privileged or self-registered users to influence privilege fields.

Attack Vector

An attacker submits an HTTP POST request to /classes/Users.php?f=save containing user account fields along with Type=1. Because the endpoint does not validate the caller's role before honoring the parameter, the server persists the elevated role. Subsequent logins with the newly created credentials yield administrative access to the eyewear shop application, including catalog, order, and user management functions.

The vulnerability mechanism is described in the GitHub CVE Documentation and tracked in the VulDB CTI ID #278252 advisory.

Detection Methods for CVE-2024-9082

Indicators of Compromise

  • HTTP POST requests to /classes/Users.php?f=save containing a Type parameter set to 1 from unauthenticated or low-privileged sessions.
  • Newly created user accounts holding administrative privileges without corresponding administrator-initiated audit entries.
  • Anomalous logins to administrative pages from accounts created within minutes of suspicious POST traffic.

Detection Strategies

  • Inspect web server access logs for POST requests targeting /classes/Users.php?f=save and correlate with the requesting session's role.
  • Compare database records of recently added users against expected administrator provisioning workflows.
  • Deploy web application firewall rules that block or alert on user-creation requests where the Type field is supplied by non-administrative sessions.

Monitoring Recommendations

  • Enable detailed audit logging for all account creation and role-modification events in the application database.
  • Alert on unexpected privilege escalations and on first-time administrative logins from new accounts.
  • Monitor outbound HTTP traffic from the web server for indicators of post-exploitation activity such as webshell deployment.

How to Mitigate CVE-2024-9082

Immediate Actions Required

  • Restrict network access to the Online Eyewear Shop application until a vendor patch is available, especially on internet-exposed deployments.
  • Audit the users table and remove or downgrade any unauthorized administrative accounts created since deployment.
  • Add server-side authorization checks in /classes/Users.php that reject Type values supplied by non-administrative sessions.

Patch Information

No official vendor patch has been published by SourceCodester or oretnom23 at the time of disclosure. Operators should track the SourceCodester Security Resources page and the VulDB #278252 record for fix availability. In the interim, apply a custom code modification to enforce role validation before persisting the Type field.

Workarounds

  • Implement a web application firewall rule that drops requests to /classes/Users.php?f=save containing a Type parameter when the session is not authenticated as an administrator.
  • Modify the save function to ignore the client-supplied Type value and default new registrations to the lowest privilege role.
  • Disable public user registration if it is not required for business operations.
bash
# Example ModSecurity rule to block unauthorized role assignment
SecRule REQUEST_URI "@streq /classes/Users.php" \
  "chain,phase:2,deny,status:403,id:1009082,\
   msg:'CVE-2024-9082 Online Eyewear Shop privilege escalation attempt'"
  SecRule ARGS:f "@streq save" "chain"
  SecRule ARGS:Type "@streq 1"

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeAuth Bypass

  • Vendor/TechOretnom23 Online Eyewear Shop

  • SeverityMEDIUM

  • CVSS Score5.3

  • EPSS Probability0.25%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityLow
  • CWE References
  • CWE-266

  • CWE-863
  • Technical References
  • GitHub CVE Documentation

  • SourceCodester Security Resources
  • Vendor Resources
  • VulDB CTI ID #278252

  • VulDB #278252

  • VulDB Submission #411565
  • Related CVEs
  • CVE-2025-2846: Online Eyewear Shop SQL Injection Flaw

  • CVE-2025-3018: Online Eyewear Shop SQL Injection Flaw

  • CVE-2024-5894: Online Eyewear Shop SQLi Vulnerability

  • CVE-2024-9974: Online Eyewear Shop SQLi Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English