ini before 1.3.6 vulnerable to Prototype Pollution via ini.parse
High severity
GitHub Reviewed
Published
Dec 10, 2020
to the GitHub Advisory Database
•
Updated Aug 31, 2023
Description
Reviewed
Dec 10, 2020
Published to the GitHub Advisory Database
Dec 10, 2020
Published by the National Vulnerability Database
Dec 11, 2020
Last updated
Aug 31, 2023
Overview
The
ini
npm package before version 1.3.6 has a Prototype Pollution vulnerability.If an attacker submits a malicious INI file to an application that parses it with
ini.parse
, they will pollute the prototype on the application. This can be exploited further depending on the context.Patches
This has been patched in 1.3.6.
Steps to reproduce
payload.ini
poc.js:
References