exploit the possibilities

Landsknecht Adminsystems CMS 4.0.1 CSRF / XSS / File Upload

Landsknecht Adminsystems CMS 4.0.1 CSRF / XSS / File Upload
Posted Feb 13, 2015
Authored by Steffen Roesemann

Landsknecht Adminsystems CMS version 4.0.1 (dev and beta versions) suffer from cross site request forgery, cross site scripting, and remote file upload vulnerabilities.

tags | exploit, remote, vulnerability, xss, file upload, csrf
MD5 | e2b45b870d42d4a34eecd9301c961f0c

Landsknecht Adminsystems CMS 4.0.1 CSRF / XSS / File Upload

Change Mirror Download
Advisory: Reflecting XSS vulnerabitlies, unrestricted file upload and
underlaying CSRF in Landsknecht Adminsystems CMS v. 4.0.1 (DEV, beta
version)
Advisory ID: SROEADV-2015-14
Author: Steffen Rösemann
Affected Software: Landsknecht Adminsystems CMS v. 4.0.1 (DEV, beta version)
Vendor URL: https://github.com/kneecht/adminsystems
Vendor Status: will be patched
CVE-ID: -

==========================
Vulnerability Description:
==========================

Landsknecht Adminsystems CMS v. 4.0.1 (DEV, beta version) suffers from
reflecting XSS- , unrestricted file-upload and an underlaying
CSRF-vulnerability.

==================
Technical Details:
==================

The content management system Landsknecht Adminsystems v. 4.0.1, which is
currently in beta development stage, suffers from reflecting
XSS-vulnerabilities, a unrestricted file-upload and an underlaying
CSRF-vulnerability.

==================
Reflecting XSS-vulnerabilities
==================

A reflecting XSS vulnerability can be found in the index.php and can be
abused via the vulnerable "page"-parameter. See the following example,
including exploit-example:

http://
{TARGET}/index.php?page=home%22%3E%3Cscript%3Ealert%28document.cookie%29%3C/script%3E&lang=de%27

Another reflecting XSS vulnerability can be found in the system.php-file
and can be exploited via the vulnerable "id" parameter:

http://
{TARGET}/asys/site/system.php?action=users_users&mode=edit&id=1%22%3E%3Cscript%3Ealert%281%29%3C/script%3E

============================
Unrestricted file-upload / Underlaying CSRF
============================

Registered users and administrators are able to upload arbitrary files via
the following upload-form, located here:

http://{TARGET}/asys/site/files.php?action=upload&path=/

As there seems not be an existing permission-model, users can read/execute
files an administrator/user uploaded and vice versa.

This issue includes an underlaying CSRF-vulnerability, as a user is able to
upload a malicious file and trick another user or the administrator into
visiting the link to the file.

All files get uploaded here without being renamed:

http://{TARGET}/upload/files/{UPLOADED_FILE}

=========
Solution:
=========

The vendor has been notified. He will provide a fix for the vulnerabilities
to prevent people who might use it from being attacked, although he would
not recommend using the CMS because it is in its beta stage.


====================
Disclosure Timeline:
====================
30-Jan-2015 – found the vulnerabilities
30-Jan-2015 - informed the developers (see [3])
30-Jan-2015 – release date of this security advisory [without technical
details]
30-Jan-2015 - forked Github repository of Adminsystems v. 4.0.1 to keep it
available for other security researchers (see [4])
12-Feb-2015 - release date of this security advisory
12-Feb-2015 - vendor will patch the vulnerabilities
12-Feb-2015 - send to FullDisclosure



========
Credits:
========

Vulnerability found and advisory written by Steffen Rösemann.

===========
References:
===========

[1] https://github.com/kneecht/adminsystems
[2] http://sroesemann.blogspot.de/2015/01/sroeadv-2015-14.html
[3] https://github.com/kneecht/adminsystems/issues/1
[4] https://github.com/sroesemann/adminsystems


Comments

RSS Feed Subscribe to this comment feed

No comments yet, be the first!

Login or Register to post a comment

File Archive:

August 2019

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Aug 1st
    10 Files
  • 2
    Aug 2nd
    8 Files
  • 3
    Aug 3rd
    2 Files
  • 4
    Aug 4th
    1 Files
  • 5
    Aug 5th
    15 Files
  • 6
    Aug 6th
    79 Files
  • 7
    Aug 7th
    16 Files
  • 8
    Aug 8th
    10 Files
  • 9
    Aug 9th
    10 Files
  • 10
    Aug 10th
    0 Files
  • 11
    Aug 11th
    6 Files
  • 12
    Aug 12th
    26 Files
  • 13
    Aug 13th
    15 Files
  • 14
    Aug 14th
    19 Files
  • 15
    Aug 15th
    52 Files
  • 16
    Aug 16th
    11 Files
  • 17
    Aug 17th
    1 Files
  • 18
    Aug 18th
    0 Files
  • 19
    Aug 19th
    0 Files
  • 20
    Aug 20th
    0 Files
  • 21
    Aug 21st
    0 Files
  • 22
    Aug 22nd
    0 Files
  • 23
    Aug 23rd
    0 Files
  • 24
    Aug 24th
    0 Files
  • 25
    Aug 25th
    0 Files
  • 26
    Aug 26th
    0 Files
  • 27
    Aug 27th
    0 Files
  • 28
    Aug 28th
    0 Files
  • 29
    Aug 29th
    0 Files
  • 30
    Aug 30th
    0 Files
  • 31
    Aug 31st
    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