Descrizione

Blind SQL injection vulnerability in the public endpoint `public/webhook/receiver.php` of the WhatsApp module for Dolibarr 1.9. The phone number value derived from the `data.key.remoteJid` parameter, received via a JSON request, is incorporated into an SQL query without escaping or parameterization. With the WHATSAPP_WEBHOOK_ALLOW option enabled, an unauthenticated remote attacker could manipulate this parameter to alter the query. Exploitation using a timing-based technique could allow an attacker to extract information from the database and cause service disruption.

Testo originale del record CVE (in inglese).

Come correggere

Priorità: Media — correggere nel prossimo ciclo di patch. Motivazione: CVSS 8.8, EPSS 0.3% (percentile 27).

Versioni da aggiornare

  • Sgestion / EasySoft WhatsApp for Dolibarr: vulnerabile la versione 1.9 → installare l'ultima release supportata dal vendor.

Indicazioni del vendor

Soluzione (testo originale del vendor):

The manufacturer has confirmed that the patch addressing the vulnerability has already been deployed.

Mitigazioni temporanee

Da applicare solo se non è possibile aggiornare subito:

  • Attivare regole WAF anti SQL injection, ridurre i privilegi dell'utente del database e monitorare query anomale.

Verifica

  1. Individuare tutti gli asset con il prodotto interessato (inventario, scanner di vulnerabilità, CMDB).
  2. Confrontare la versione installata con quelle indicate sopra.
  3. Applicare l'aggiornamento in un ambiente di test, poi in produzione; riavviare i servizi se richiesto.
  4. Ripetere la scansione per confermare la correzione.

Configurazioni interessate

VendorProdottoVersioni vulnerabiliCorretta in
Sgestion / EasySoft WhatsApp for Dolibarr 1.9 —

Riferimenti