GIVE YOUR AGENT THE EVIDENCE

Set up in your agent.

One prompt to get started. Paste it into your coding agent to connect cve.new through MCP and bring vulnerability context into your workflow.

Your agent needs remote MCP support and access to https://cve.new/mcp.

Read the setup guide

GIVE YOUR AGENT THE EVIDENCE

Investigate in your agent.

Turn this advisory into a focused investigation. Ask your agent to check your project’s versions, explain the evidence, and suggest a compatible fix.

Your agent needs remote MCP support and access to https://cve.new/mcp.

Read the setup guide

GHSA-247v-7cw6-q57vcritical9.8

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

Check your stack

The advisory, in context

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:

$skip_permissions = true;
include_once __DIR__.'/../../core.php';

core.php then invokes:

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

Start with the recorded fix for your release branch. Check your installed version and test compatibility before upgrading. Fixing this advisory does not rule out other vulnerabilities in the release.

Ecosystem versions

Earlier releases through 2.9.8 (inclusive)

No fix recorded for this interval.

87 explicitly affected versions

2.3.0, v2.4, v2.4.1, v2.4.10, v2.4.11, v2.4.12, v2.4.13, v2.4.14, v2.4.15, v2.4.16, v2.4.17, v2.4.17.1, v2.4.18, v2.4.19, v2.4.2, v2.4.20, v2.4.21, v2.4.22, v2.4.23, v2.4.24, v2.4.25, v2.4.26, v2.4.27, v2.4.28, v2.4.29, v2.4.3, v2.4.30, v2.4.31, v2.4.32, v2.4.33, v2.4.34, v2.4.35, v2.4.36, v2.4.37, v2.4.38, v2.4.39, v2.4.4, v2.4.40, v2.4.41, v2.4.42, v2.4.43, v2.4.44, v2.4.45, v2.4.46, v2.4.47, v2.4.48, v2.4.49, v2.4.5, v2.4.50, v2.4.51, v2.4.52, v2.4.53, v2.4.54, v2.4.6, v2.4.7, v2.4.8, v2.4.9, v2.5, v2.5.1-beta, v2.5.2-beta, v2.5.3, v2.5.4, v2.5.5, v2.5.6, v2.5.7, v2.6-beta, v2.6.1, v2.6.2, v2.7, v2.7-beta, v2.7.1, v2.7.2, v2.7.3, v2.8-beta, v2.8.1, v2.8.2, v2.8.3, v2.9, v2.9-beta, v2.9.1, v2.9.2, v2.9.3, v2.9.4, v2.9.5, v2.9.6, v2.9.7, v2.9.8

View affected-version evidence
{
  "ranges": [
    {
      "events": [
        {
          "introduced": "0"
        },
        {
          "last_affected": "2.9.8"
        }
      ],
      "type": "ECOSYSTEM"
    }
  ],
  "versions": [
    "2.3.0",
    "v2.4",
    "v2.4.1",
    "v2.4.10",
    "v2.4.11",
    "v2.4.12",
    "v2.4.13",
    "v2.4.14",
    "v2.4.15",
    "v2.4.16",
    "v2.4.17",
    "v2.4.17.1",
    "v2.4.18",
    "v2.4.19",
    "v2.4.2",
    "v2.4.20",
    "v2.4.21",
    "v2.4.22",
    "v2.4.23",
    "v2.4.24",
    "v2.4.25",
    "v2.4.26",
    "v2.4.27",
    "v2.4.28",
    "v2.4.29",
    "v2.4.3",
    "v2.4.30",
    "v2.4.31",
    "v2.4.32",
    "v2.4.33",
    "v2.4.34",
    "v2.4.35",
    "v2.4.36",
    "v2.4.37",
    "v2.4.38",
    "v2.4.39",
    "v2.4.4",
    "v2.4.40",
    "v2.4.41",
    "v2.4.42",
    "v2.4.43",
    "v2.4.44",
    "v2.4.45",
    "v2.4.46",
    "v2.4.47",
    "v2.4.48",
    "v2.4.49",
    "v2.4.5",
    "v2.4.50",
    "v2.4.51",
    "v2.4.52",
    "v2.4.53",
    "v2.4.54",
    "v2.4.6",
    "v2.4.7",
    "v2.4.8",
    "v2.4.9",
    "v2.5",
    "v2.5.1-beta",
    "v2.5.2-beta",
    "v2.5.3",
    "v2.5.4",
    "v2.5.5",
    "v2.5.6",
    "v2.5.7",
    "v2.6-beta",
    "v2.6.1",
    "v2.6.2",
    "v2.7",
    "v2.7-beta",
    "v2.7.1",
    "v2.7.2",
    "v2.7.3",
    "v2.8-beta",
    "v2.8.1",
    "v2.8.2",
    "v2.8.3",
    "v2.9",
    "v2.9-beta",
    "v2.9.1",
    "v2.9.2",
    "v2.9.3",
    "v2.9.4",
    "v2.9.5",
    "v2.9.6",
    "v2.9.7",
    "v2.9.8"
  ]
}

References