Descrizione
Tinyproxy through 1.11.3 contains an access control bypass vulnerability in acl_string_processing() in src/acl.c that compares only trailing hostname characters without checking DNS label boundaries. Attackers controlling the PTR record for their source IP, such as untrusted.net, can satisfy an 'Allow trusted.net' entry to use the proxy despite deny-by-default ACLs.
Tipo di vulnerabilità
CWE-187
Partial String Comparison
The product performs a string comparison that only examines a portion of the string before determining whether there is a match.
Impatto sui sistemi
| Ambito | Impatto |
| Integrità, Controllo degli accessi |
Alterare la logica di esecuzione, Aggirare i meccanismi di protezione |
Come si previene
Test
Thoroughly test the comparison scheme before deploying code into production. Perform positive testing as well as negative testing.
Tutte le 21 CVE di tipo CWE-187, con andamento e prevenzione