.. / CVE-2020-35580

Exploit for SearchBlox <9.2.2 - Local File Inclusion (CVE-2020-35580)

Description:

SearchBlox prior to version 9.2.2 is susceptible to local file inclusion in FileServlet that allows remote, unauthenticated users to read arbitrary files from the operating system via a /searchblox/servlet/FileServlet?col=url= request. Additionally, this may be used to read the contents of the SearchBlox configuration file (e.g., searchblox/WEB-INF/config.xml), which contains both the Super Admin API key and the base64 encoded SHA1 password hashes of other SearchBlox users.

Nuclei Template

View the template here CVE-2020-35580.yaml

Validate with Nuclei

echo "$URL" | nuclei -t ~/nuclei-templates/http/cves/2020/CVE-2020-35580.yaml
Copy

References:

https://github.com/ARPSyndicate/cvemon
https://developer.searchblox.com/docs/getting-started-with-searchblox
https://github.com/ARPSyndicate/kenzer-templates
https://nvd.nist.gov/vuln/detail/CVE-2020-35580
https://hateshape.github.io/general/2021/05/11/CVE-2020-35580.html