XSS Vulnerabilities in FlatPress

Information

Advisory by Netsparker (now Invicti)
Name: XSS Vulnerabilities in FlatPress 1.0.2
Software: FlatPress 1.0.2 and possibly below.
Vendor Homepage: https://www.flatpress.org/
Vulnerability Type: Cross-site Scripting
Severity: Critical
Researcher: Omar Kurt
Advisory Reference: NS-14-015

Description

FlatPress is a blogging engine that saves your posts as simple text files.

Details

FlatPress is affected by XSS vulnerabilities in version 1.0.2.
Example PoC urls are as follows:

  • Cross-site Scripting
    http://example.com/?x=entry:entry131123-000300 – (POST : params : content)
    </textarea><script>alert(9)</script>

You can read the full article about Cross-site Scripting vulnerabilities from here:

Solution

https://github.com/evacchi/flatpress/issues/14

Advisory Timeline

04/03/2014 – First Contact
05/03/2014 – Vendor fixed vulnerability
08/04/2014 – Advisory Released

Credits

It has been discovered on testing of Invicti Web Application Security Scanner.

About Invicti

Invicti® can find and report security issues such as SQL Injection and Cross-site Scripting (XSS) in all web applications regardless of the platform and the technology they are built on. Invicti’s unique detection and exploitation techniques allows it to be dead accurate in reporting hence it’s the first and the only False Positive Free web application security scanner.