PT-2022-20506 · Unknown · Octopoller
Nickfloyd
·
Published
2022-06-15
·
Updated
2022-06-27
·
CVE-2022-31071
CVSS v3.1
2.5
Low
| Vector | AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N |
Name of the Vulnerable Software and Affected Versions
octopoller version 0.2.0
Description
The issue arises from the octopoller gem being packed with files having their permissions set to
-rw-rw-rw- (i.e. 0666) instead of rw-r--r-- (i.e. 0644) in version 0.2.0. This means that everyone who is not the owner (Group and Public) with access to the instance where this release had been installed could modify the world-writable files from this gem. Malicious code already present and running on the machine could modify the gem’s files and change its behavior during runtime.Recommendations
For version 0.2.0, consider modifying the file permissions manually until you are able to upgrade to the latest version, which is 0.3.0.
Alternatively, downgrade to version 0.1.0 until the latest version is available.
As a temporary workaround, manually set the file permissions to
rw-r--r-- (i.e. 0644) to prevent unauthorized modifications.Exploit
Fix
Incorrect Default Permissions
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Octopoller