Skip to content

Lack of escaping on template import can lead to XSS exposure #3628

@cpelliccioni

Description

@cpelliccioni

A XSS issue has been found on templates_import.php (Cacti 1.2.12). The vulnerability could be exploited by an attacker by forcing a user to upload a file with a name containing client-side code.

<img src=# onerror=alert(document.domain)>.php

Go to http://127.0.0.1/cacti/templates_report.php and upload the file. An alert box with the current IP or domain will be shown up.

Screenshot 2020-06-17 at 00 09 32

CVE-2020-14424

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugUndesired behaviourresolvedA fixed issue

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions