Início
Início
Tendências
Tendências
Vulnerabilidades
Vulnerabilidades
Notícias
Notícias
Pesquisadores
Pesquisadores
Por que dbugs?
Por que dbugs?
Configurações

E-C-D

#35423de 61,868
8.7CVSS total
Vulnerabilidades · 1
PT-2023-24889
2023-07-05
8.7
CVE-2023-34457
Unknown
Mechanicalsoup
A malicious web server can read arbitrary files on the client using a `<input type="file" ...>` inside HTML form. All users of MechanicalSoup's form submission are affected, unless they took very specific (and manual) steps to reset HTML form field values. The issue arises from the `browser.Browser.get request kwargs` code, where the file path is taken from the bs4 tag "value" attribute, which can be set by a malicious server. For example, if a malicious web server sends an HTML form with an `<input type="file" name="evil" value="/home/user/.ssh/id rsa" />`, the MechanicalSoup browser will send the contents of the SSH private key when submitting the form.