1. Archivio CVE
  2. 2019
  3. CVE-2019-14749

CVE-2019-14749

8.8 Gravità alta CVSS v3.0 · fonte NVD CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H 8.8 – Alta

Descrizione

An issue was discovered in osTicket before 1.10.7 and 1.12.x before 1.12.1. CSV (aka Formula) injection exists in the export spreadsheets functionality. These spreadsheets are generated dynamically from unvalidated or unfiltered user input in the Name and Internal Notes fields in the Users tab, and the Issue Summary field in the tickets tab. This allows other agents to download data in a .csv file format or .xls file format. This is used as input for spreadsheet applications such as Excel and OpenOffice Calc, resulting in a situation where cells in the spreadsheets can contain input from an untrusted source. As a result, the end user who is accessing the exported spreadsheet can be affected.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
enhancesoft osticket < 1.10.7 –
enhancesoft osticket >= 1.12 < 1.12.1 –
Tutte le 46 vulnerabilità di Enhancesoft Osticket

Tipo di vulnerabilità

CWE-1236 Improper Neutralization of Formula Elements in a CSV File

The product saves user-provided information into a Comma-Separated Value (CSV) file, but it does not neutralize or incorrectly neutralizes special elements that could be interpreted as a command when the file is opened by a spreadsheet product.

Impatto sui sistemi

AmbitoImpatto
Riservatezza Leggere i dati dell’applicazione, Eseguire codice o comandi non autorizzati

Come si previene

Sviluppo When generating CSV output, ensure that formula-sensitive metacharacters are effectively escaped or removed from all data before storage in the resultant CSV. Risky characters include '=' (equal), '+' (plus), '-' (minus), and '@' (at).
Sviluppo If a field starts with a formula character, prepend it with a ' (single apostrophe), which prevents Excel from executing the formula.
Architettura e progettazione Certain implementations of spreadsheet software might disallow formulas from executing if the file is untrusted, or if the file is not authored by the current user.

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

Tutte le 326 CVE di tipo CWE-1236, con andamento e prevenzione

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