Descrizione
Catalyst::Plugin::Static::Simple versions through 0.38 for Perl mark responses as publicly cacheable.
The _serve_static method always sets the Cache-Control header to "public", with no means of overriding it. This advises proxies that the content may be stored in a shared cache, and may be reused in responses to requests from other users. (This includes requests with an Authorization header.)
Configuring the expires time to "0" to disable caching, as documented, is ignored.
Tipo di vulnerabilità
CWE-524
Use of Cache Containing Sensitive Information
The code uses a cache that contains sensitive information, but the cache can be read by an actor outside of the intended control sphere.
Impatto sui sistemi
| Ambito | Impatto |
| Riservatezza |
Leggere i dati dell’applicazione |
Come si previene
Architettura e progettazione
Protect information stored in cache.
Architettura e progettazione
Do not store unnecessarily sensitive information in the cache.
Architettura e progettazione
Consider using encryption in the cache.
Tutte le 83 CVE di tipo CWE-524, con andamento e prevenzione