CVE-2010-1160
What it is
GNU nano before 2.2.4 does not verify whether a file has been changed before it is overwritten in a file-save operation, which allows local user-assisted attackers to overwrite arbitrary files via a symlink attack on an attacker-owned file that is being edited by the victim.
At a glance
- Exploitability
- Can be exploited locally on the machine without logging in. Limited direct impact.
- Exploit odds
- 0.4% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 0.4% in the next 30 days (EPSS).
- Severity: 1.9 LOW (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 0.4% · EPSS, next 30 days
- Weakness
- CWE-59
- Record status
- Modified
Affected
- Gnu Nano ≤ 2.2.3
- Gnu Nano 0.5.0
- Gnu Nano 0.5.1
- Gnu Nano 0.5.2
- Gnu Nano 0.5.3
- Gnu Nano 0.5.4
- Gnu Nano 0.5.5
- Gnu Nano 0.6.0
Attack profile CVSS 2.0 · 1.9
- Attack vector
- Local
- Complexity
- Medium
- Authentication
- None
- Confidentiality
- None
- Integrity
- Partial
- Availability
- None
Raw vector
AV:L/AC:M/Au:N/C:N/I:P/A:N
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2010-1160.md and follow it. Check whether this project is affected by CVE-2010-1160. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
References
- http://drosenbe.blogspot.com/2010/03/nano-as-root.html
- http://lists.gnu.org/archive/html/nano-devel/2010-04/msg00000.html
- http://secunia.com/advisories/39444
- http://svn.savannah.gnu.org/viewvc/trunk/nano/ChangeLog?revision=4503&root=nano&view=markup
- http://www.openwall.com/lists/oss-security/2010/04/14/4
- http://www.securitytracker.com/id?1023891
- http://drosenbe.blogspot.com/2010/03/nano-as-root.html
- http://lists.gnu.org/archive/html/nano-devel/2010-04/msg00000.html
- http://secunia.com/advisories/39444
- http://svn.savannah.gnu.org/viewvc/trunk/nano/ChangeLog?revision=4503&root=nano&view=markup
- http://www.openwall.com/lists/oss-security/2010/04/14/4
- http://www.securitytracker.com/id?1023891