REDHAT-BUG-716842: Infoleak

Published Jun 27, 2011
·
Updated

taskstats information may be used for gathering private information. E.g. for openssh and vsftpd daemons readcharacters/writecharacters may be used to learn the precise password length. Restrict it to processes being able to ptrace the target process. For TASKSTATSCMDATTRREGISTERCPUMASK the fix is euid check instead of a ptrace check as the handler is processed in the context of the target process, not the listener process'. When ptracetaskmayaccesscurrent() is introduced, it should be used instead of euid check. Currently there is a small race when a process temporarily changes its euid (e.g. to access user's files), until the process sets euid back user's processes may gather privileged process' statistics.

taskstats authorizedkeys presence infoleak PoC http://seclists.org/oss-sec/2011/q2/659

[0/2] restrict statistics information to user https://lkml.org/lkml/2011/6/24/88 [1/2] proc: restrict access to /proc/PID/io (CVE-2011-2495) https://patchwork.kernel.org/patch/916032/ [2/2] taskstats: restrict access to user (CVE-2011-2494) https://patchwork.kernel.org/patch/916042/

http://article.gmane.org/gmane.comp.security.oss.general/5337 Linus suggested returning accounting information at a 1k granularity instead.

Acknowledgements:

Red Hat would like to thank Vasiliy Kulikov of Openwall for reporting this issue.

Affected Software

2 affected components
OpenSSH OpenSSH
vsftpd vsftpd

Event History

Jun 27, 2011
Data Sourced
via Red Hat·09:04 AM
DescriptionSeverityAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of REDHAT-BUG-716842?

The severity of REDHAT-BUG-716842 is considered to be moderate due to the potential for exposing private information.

2

How do I fix REDHAT-BUG-716842?

To mitigate REDHAT-BUG-716842, restrict access to TASKSTATS information for processes that can ptrace the target processes.

3

Who is affected by REDHAT-BUG-716842?

Affected software includes OpenSSH and vsftpd daemons that utilize taskstats information.

4

What type of information can be leaked due to REDHAT-BUG-716842?

REDHAT-BUG-716842 can lead to the leakage of sensitive information such as the precise password length used in applications.

5

Is there a workaround for REDHAT-BUG-716842?

A potential workaround for REDHAT-BUG-716842 is to limit the capabilities of processes using taskstats to prevent unauthorized access.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203