Descrizione
WebDyne versions from 2.022 before 3.022 for Perl disclose application source to unauthenticated clients via the viewer in the default index page.
WebDyne's wrapper scripts, such as webdyne.psgi, enable the built-in index page by default. Its source viewer returns files under the document root named in the source parameter of an HTMX request, including .psp, .pm and .pl files.
A remote attacker can read the application's Perl code, including the __PERL__ blocks of .psp pages and any credentials they hold.
Tipo di vulnerabilità
CWE-540
Inclusion of Sensitive Information in Source Code
The product (such as a web server or repository) provides access to source code is not intended to be accessible to users but contains sensitive information.
Impatto sui sistemi
| Ambito | Impatto |
| Riservatezza |
Leggere i dati dell’applicazione, Dipende dal contesto |
Come si previene
Architettura e progettazione · Configurazione del sistema
Recommendations include removing the script from the web server and moving it to a location not accessible from the Internet.
Tutte le 27 CVE di tipo CWE-540, con andamento e prevenzione