CWE
200
Advisory Published
Updated

REDHAT-BUG-716842: Infoleak

First published: Mon Jun 27 2011(Updated: )

taskstats information may be used for gathering private information. E.g. for openssh and vsftpd daemons read_characters/write_characters may be used to learn the precise password length. Restrict it to processes being able to ptrace the target process. For TASKSTATS_CMD_ATTR_REGISTER_CPUMASK 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 ptrace_task_may_access_current() 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 authorized_keys presence infoleak PoC <a href="http://seclists.org/oss-sec/2011/q2/659">http://seclists.org/oss-sec/2011/q2/659</a> [0/2] restrict statistics information to user <a href="https://lkml.org/lkml/2011/6/24/88">https://lkml.org/lkml/2011/6/24/88</a> [1/2] proc: restrict access to /proc/PID/io (<a href="https://access.redhat.com/security/cve/CVE-2011-2495">CVE-2011-2495</a>) <a href="https://patchwork.kernel.org/patch/916032/">https://patchwork.kernel.org/patch/916032/</a> [2/2] taskstats: restrict access to user (<a href="https://access.redhat.com/security/cve/CVE-2011-2494">CVE-2011-2494</a>) <a href="https://patchwork.kernel.org/patch/916042/">https://patchwork.kernel.org/patch/916042/</a> <a href="http://article.gmane.org/gmane.comp.security.oss.general/5337">http://article.gmane.org/gmane.comp.security.oss.general/5337</a> 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 SoftwareAffected VersionHow to fix
GSI OpenSSH
vsftpd

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

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.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203