1. Archivio CVE
  2. 2018
  3. CVE-2018-25242

CVE-2018-25242

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

Descrizione

One Search 1.1.0.0 contains a denial of service vulnerability that allows local attackers to crash the application by submitting excessively long input strings to the search functionality. Attackers can paste a buffer of 950 or more characters into the search bar to trigger an unhandled exception that crashes the application.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
onesearch one search 1.1.0.0 –

Tipo di vulnerabilità

CWE-1389 Incorrect Parsing of Numbers with Different Radices

The product parses numeric input assuming base 10 (decimal) values, but it does not account for inputs that use a different base number (radix).

Impatto sui sistemi

AmbitoImpatto
Riservatezza Leggere i dati dell’applicazione
Integrità Aggirare i meccanismi di protezione, Alterare la logica di esecuzione

Come si previene

Sviluppo · Conversione in valori ammessi If only decimal-based values are expected in the application, conditional checks should be created in a way that prevent octal or hexadecimal strings from being checked. This can be achieved by converting any numerical string to an explicit base-10 integer prior to the conditional check, to prevent octal or hex values from ever being checked against the condition.
Sviluppo · Validazione dell’input If various numerical bases do need to be supported, check for leading values indicating the non-decimal base you wish to support (such as 0x for hex) and convert the numeric strings to integers of the respective base. Reject any other alternative-base string that is not intentionally supported by the application.
Sviluppo · Validazione dell’input If regular expressions are used to validate IP addresses, ensure that they are bounded using ^ and $ to prevent base-prepended IP addresses from being matched.

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

Tutte le 1 CVE di tipo CWE-1389, con andamento e prevenzione

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