1. Archivio CVE
  2. 2026
  3. CVE-2026-122158

CVE-2026-122158

4.7 Gravità media CVSS v3.1 · fonte NVD CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L 4.7 – Media

Descrizione

A security flaw has been discovered in InvoiceShelf up to 2.4.3/3.0.0-alpha.3. Affected by this issue is the function MemberService::create of the file app/Domains/Accounts/Application/MemberService.php. Performing a manipulation of the argument companies[].id/companies[].role results in improper access controls. The attack is possible to be carried out remotely. The exploit has been released to the public and may be used for attacks. Upgrading to version 2.4.4 and 3.0.0-alpha.4 can resolve this issue. The patch is named c798b513c3ab6e672a1678774720fbb282f4d0c6. It is recommended to upgrade the affected component.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
invoiceshelf invoiceshelf 2.4.0 –
invoiceshelf invoiceshelf 2.4.1 –
invoiceshelf invoiceshelf 2.4.2 –
invoiceshelf invoiceshelf 2.4.3 –
invoiceshelf invoiceshelf 3.0.0-alpha.0 –
invoiceshelf invoiceshelf 3.0.0-alpha.1 –
invoiceshelf invoiceshelf 3.0.0-alpha.2 –
invoiceshelf invoiceshelf 3.0.0-alpha.3 –
Tutte le 13 vulnerabilità di Invoiceshelf

Tipo di vulnerabilità

CWE-266 Assegnazione errata dei privilegi

Il prodotto assegna per errore un privilegio a un soggetto, che finisce per avere poteri maggiori di quelli previsti.

Impatto sui sistemi

AmbitoImpatto
Controllo degli accessi Ottenere privilegi o assumere un’altra identità

Come si previene

Architettura e progettazione · Esercizio Gestisci con molta attenzione l’assegnazione e l’uso dei privilegi, e definisci in modo esplicito le zone di fiducia del software.
Architettura e progettazione · Esercizio · Hardening dell’ambiente Run your code using the lowest privileges that are required to accomplish the necessary tasks. If possible, create isolated accounts with limited privileges that are only used for a single task. That way, a successful attack will not immediately give the attacker access to the rest of the software or its environment. For example, database applications rarely need to run as the database administrator, especially in day-to-day operations.

Le indicazioni di mitigazione sono riportate nella lingua originale del catalogo CWE del MITRE.

Tutte le 1.273 CVE di tipo CWE-266, con andamento e prevenzione

Fonte: catalogo CWE del MITRE · cwe.mitre.org