Skip to content

MCMS System V5.5 /mcms/search.do xss vulnerability #2

@webzzaa

Description

@webzzaa

MCMS System V5.5 /mcms/search.do xss vulnerability

NAME OF AFFECTED PRODUCT(S)

  • MCMS

Vendor Homepage

AFFECTED AND/OR FIXED VERSION(S)

Vulnerable File

  • /mcms/search.do

VERSION(S)

  • V5.5

Software Link

PROBLEM TYPE

Vulnerability Type

  • xss vulnerability

Impact

  • Attackers can exploit this reflected XSS vulnerability to achieve unauthorized access to user accounts, hijack user sessions, steal sensitive user data, deface web pages, and even compromise the integrity of the entire website, posing a serious threat to user privacy and the normal operation of the business.

DESCRIPTION

  • During the security review of "MCMS System",I discovered a xss vulnerability in the "/mcms/search.do" .

No login or authorization is required to exploit this vulnerability

Vulnerability details and POC

Vulnerability lonameion:

  • 'content_title‘ parameter

Payload:

"onmouseover=prompt(1)//

Image

Image

According to the route /mcms/search, locate the MCmsAction class and find that its xss filtering method is completely unfiltered. For example, // and ""

Image

Suggested repair

  1. Encode output data:
    Encode all user-generated content before displaying it on a web page. This ensures that any potentially malicious scripts are treated as plain text rather than executable code. For example, convert special characters such as <, >, and & to their respective HTML entities (<, >, and &).

  2. Input validation and filtering:
    Strictly validate and filter user input data to ensure it conforms to the expected format.

  3. Use Content Security Policy (CSP):
    Implement a Content Security Policy to restrict the sources from which scripts can be executed.

  4. Regular security audits:
    Regularly conduct code and system security audits to promptly identify and fix potential security vulnerabilities.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions