Secunia CSI 5.0
Overview
Advisories
Research
Forums
Create Profile
Our Commitment
Database
Search
Advisories by Product
Advisories by Vendor
Terminology
Report Vulnerability
Insecure Library Loading

Secunia Advisory SA17226

Linux Kernel Console Keyboard Mapping Shell Command Injection
Secunia Advisory SA17226
Get alerted and manage the vulnerability life cycle
Free Trial

Release Date 2005-10-17
Last Update 2005-11-10
   
Popularity 20,117 views
Comments 0 comments

Criticality level Less criticalLess critical
Impact Privilege escalation
Where Local system
Authentication level Available in Customer Area
   
Report reliability Available in Customer Area
Solution Status Vendor Patch
   
Systems affected Available in Customer Area
Approve distribution Available in Customer Area
   
Operating System
Linux Kernel 2.4.x
Linux Kernel 2.6.x

Secunia CVSS Score Available in Customer Area
CVE Reference(s) CVE-2005-3257 CVSS available in Customer Area
  

Description

Rudolf Polzer has reported a vulnerability in the Linux Kernel, which potentially can be exploited by malicious, local users to gain escalated privileges.

The vulnerability is caused due to the way console keyboard mapping is handled. The keyboard map installed by a local user using "loadkeys" is applied to all virtual consoles and is not being reset after the user logs out.

Successful exploitation allows malicious console users to inject arbitrary shell commands into certain key mappings, which are executed when the next logon console user uses the re-mapped key.

The vulnerability has been reported in Kernel 2.4.x and 2.6.x. Other versions may also be affected.


Solution
The vulnerability has been fixed in version 2.4.32-rc2 and in version 2.6.14-git12.

Provided and/or discovered by
Rudolf Polzer

Changelog
Further details available in Customer Area

Original Advisory
Debian:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=334113

Kernel.org:
http://kernel.org/pub/linux/kernel/v2.6/snapshots/patch-2.6.14-git12.log
http://kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=0b360adbdb54d5b98b78d57ba0916bc4b8871968
http://kernel.org/pub/linux/kernel/v2.4/testing/patch-2.4.32.log
http://kernel.org/git/?p=linux/kernel/git/marcelo/linux-2.4.git;a=commit;h=2afb6d8ea04e81a1547e8e51b7550a8fd69b9fce

Deep Links
Links available in Customer Area


Do you have additional information related to this advisory?

Please provide information about patches, mitigating factors, new versions, exploits, faulty patches, links, and other relevant data by posting comments to this Advisory. You can also send this information to vuln@secunia.com

Subject: Linux Kernel Console Keyboard Mapping Shell Command Injection
 
No posts yet

-

You must be logged in to post a comment.




 Products Solutions Customers Partner Resources Company
 
 Corporate
Vulnerability Intelligence Manager (VIM)
Corporate Software Inspector (CSI)
Consumer
Personal Software Inspector (PSI)
Online Software Inspector (OSI)
 Industry
Compliance
Technology
Integration
 Customers
Testimonials
 VARS
MSSP
Technology Partners
References
 Factsheets
Reports & Papers
Webinars
Events
 About us
Careers
Memberships
Newsroom


 
© 2002-2012 Secunia ApS - Rued Langgaards Vej 8, 4th floor, DK-2300 Copenhagen, Denmark - +45 7020 5144
Terms & Conditions and Copyright - Privacy - Report Vulnerability