Loading...
Skip to main content

CVE-2026-27012

CRITICAL

OpenSTAManager affected by unauthenticated privilege escalation via modules/utenti/actions.php

Published March 3, 2026Updated March 4, 2026Source: osv

Summary

### Summary A privilege escalation and authentication bypass vulnerability in OpenSTAManager allows any attacker to arbitrarily change a user's group (`idgruppo`) by directly calling `modules/utenti/actions.php`. This can promote an existing account (e.g. agent) into the Amministratori group as well as demote any user including existing administrators. ### Details `modules/utenti/actions.php` is reachable directly via `http://<IP>:8080/modules/utenti/actions.php` and processes privileged information without requiring any authentication or authorization checks on fields like idgruppo. As a result, an attacker can submit a crafted POST request that updates the targets record and assigns it to the administrator group. The file explicitly sets: ```PHP $skip_permissions = true; include_once __DIR__.'/../../core.php'; ``` `core.php` then invokes: ```PHP Permissions::skip(); ``` Thus, disabling any authentication and permission enforcement. As a result, this file processes operations based on the `op` parameter in the POST request, not only `update_user`. Sensitive fields like `idgruppo` and others can be updated without verifying anything. ### PoC A target username exists, such as "agent" with an ID of 4. No authentication or cookies are required. Send the following POST request via Burp Suite or similar: <img width="1094" height="255" alt="image" src="https://github.com/user-attachments/assets/2e8cb148-1b5d-4e5c-9c73-05ed75d64188" /> The target's group is updated in the database. Verify the changes in the database before and after the POST request: <img width="1053" height="430" alt="image" src="https://github.com/user-attachments/assets/49f63ca0-8a04-4dd1-b27c-69699d2ce26f" /> Changes also visible in the administrator panel, they have been moved from the Agenti group to Amministratori. ### Impact An unauthenticated attacker can assign administrator privileges to existing users, modify group memberships, enable/disable accounts and other operations that are exposed in the file. This can lead to a full compromise of the application.

Affected Packages (1)

PackageEcosystemAffectedFixed In
devcode-it/openstamanager
packagist
2.3.0, v2.4, v2.4.1, v2.4.10 (+83 more)Range-based data available

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 9.8 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Frequently Asked Questions

What is CVE-2026-27012?
OpenSTAManager affected by unauthenticated privilege escalation via modules/utenti/actions.php This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.8/10).
How do I check if my project is affected by CVE-2026-27012?
CVE-2026-27012 affects devcode-it/openstamanager. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-27012 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
9.8

Exploitation is straightforward and causes maximum impact. Patch immediately.

Also Known As

GHSA-247v-7cw6-q57v

Related CVEs

  • CVE-2026-24419
    HIGH

    OpenSTAManager has a SQL Injection in the Prima Nota module

  • CVE-2026-24418
    HIGH

    OpenSTAManager has a SQL Injection vulnerability in the Scadenzario bulk operations module

  • CVE-2026-35470
    HIGH

    OpenSTAManager has a SQL Injection via righe Parameter in confronta_righe Modals

  • CVE-2026-24416
    HIGH

    OpenSTAManager has a Time-Based Blind SQL Injection in Article Pricing Module

  • CVE-2025-69216
    HIGH

    OpenSTAManager has a SQL Injection in Scadenzario Print Template

  • CVE-2025-69214
    HIGH

    OpenSTAManager has a SQL Injection in ajax_select.php (componenti endpoint)

  • CVE-2025-69215
    HIGH

    OpenSTAManager has an SQL Injection in the Stampe Module

  • CVE-2025-69213
    HIGH

    OpenSTAManager has a SQL Injection in ajax_complete.php (get_sedi endpoint)

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies