Descrizione
paicoding 1.0.3 contains a payment bypass vulnerability that allows authenticated attackers to unlock paid articles by guessing weak payment confirmation codes. Attackers can start a payment, enumerate roughly 2000 IdUtil.genPayCode counter values, and submit the matching verifyCode to the unauthenticated callback to mark it paid.
Tipo di vulnerabilità
CWE-334
Small Space of Random Values
The number of possible random values is smaller than needed by the product, making it more susceptible to brute force attacks.
Impatto sui sistemi
| Ambito | Impatto |
| Controllo degli accessi, Altro |
Aggirare i meccanismi di protezione, Altro |
Come si previene
Architettura e progettazione · Requisiti · Librerie o framework
Use products or modules that conform to FIPS 140-2 to avoid obvious entropy problems. Consult FIPS 140-2 Annex C (Approved Random Number Generators).
Tutte le 7 CVE di tipo CWE-334, con andamento e prevenzione