Title: Nano Local File Overwrite Vulnerability
Severity: LOW
Description:
nano is a free text editor similar to pico. A problem occurs with the editor when a session terminates unexpectedly.
Upon abnormal exit, the text editor saves any changes made to the file being edited into a new file in the current working directory labeled with a '.save' extension.
A user editing a file in a directory writable by others could be subject to having other files written to if a malicious user were to symbolically link the .save file to one writable by the current nano user. This would result in the contents of the nano session being appended to the symbolically linked file, potentially corrupting it.
Depending on the privilege level of the current user, this could have further serious impacts on host security.
Affected Products:
- Chris Allegretta Nano 0.7.0
- Chris Allegretta Nano 0.7.1
- Chris Allegretta Nano 0.7.2
- Chris Allegretta Nano 0.7.3
- Chris Allegretta Nano 0.7.4
- Chris Allegretta Nano 0.7.5
- Chris Allegretta Nano 0.7.6
- Chris Allegretta Nano 0.7.7
- Chris Allegretta Nano 0.7.8
- Chris Allegretta Nano 0.7.9
- Chris Allegretta Nano 0.8.1
- Chris Allegretta Nano 0.8.2
- Chris Allegretta Nano 0.8.3
- Chris Allegretta Nano 0.8.4
- Chris Allegretta Nano 0.8.5
- Chris Allegretta Nano 0.8.6
- Chris Allegretta Nano 0.8.7
- Chris Allegretta Nano 0.8.9
- Chris Allegretta Nano 0.9.1
- Chris Allegretta Nano 0.9.10
- Chris Allegretta Nano 0.9.11
- Chris Allegretta Nano 0.9.12
- Chris Allegretta Nano 0.9.13
- Chris Allegretta Nano 0.9.14
- Chris Allegretta Nano 0.9.15
- Chris Allegretta Nano 0.9.16
- Chris Allegretta Nano 0.9.17
- Chris Allegretta Nano 0.9.18
- Chris Allegretta Nano 0.9.19
- Chris Allegretta Nano 0.9.2
- Chris Allegretta Nano 0.9.20
- Chris Allegretta Nano 0.9.21
- Chris Allegretta Nano 0.9.22
- Chris Allegretta Nano 0.9.22 PowerPC
Juniper Networks provides this content via a wide variety of sources and production methods. If notified of errors or omissions in the content of this page, Juniper Networks, at its discretion, will modify or remove the page or leave the content as is, depending on various factors including but not limited to the reputation and authority of the party providing the notification. Please use the contact information displayed elsewhere on this page to report any errors or omissions regarding the content on this page.