<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>21864</bug_id>
          
          <creation_ts>2009-10-07 17:46:15 +0400</creation_ts>
          <short_desc>[FR] check perms for /etc/sudo.d/*</short_desc>
          <delta_ts>2009-10-08 03:17:39 +0400</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>sisyphus_check</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>21860</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Michael Shigorin">mike</reporter>
          <assigned_to name="Dmitry V. Levin">ldv</assigned_to>
          <cc>at</cc>
    
    <cc>glebfm</cc>
    
    <cc>imz</cc>
    
    <cc>ktirf</cc>
    
    <cc>ldv</cc>
    
    <cc>legion</cc>
    
    <cc>placeholder</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>101009</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Shigorin">mike</who>
    <bug_when>2009-10-07 17:46:15 +0400</bug_when>
    <thetext>Обнаружилось, что на работоспособность sudo можно организовать атаку сторонним пакетом, не заметив этого заранее; предлагается добавить в sisyphus_check проверку прав на /etc/sudo.d/* (должны быть 0400 root:root, как понимаю).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>101023</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Shigorin">mike</who>
    <bug_when>2009-10-07 20:43:05 +0400</bug_when>
    <thetext>Предлагается забрать вот этот коммит:
http://git.altlinux.org/people/mike/packages/?p=sisyphus_check.git;a=commitdiff;h=620dc0dd471a05128f5a4951fe074766018a45f2

По крайней мере сборка freenx-server.git из коммита 4f3c7d9ce268e9f90c2a8f913639ffa2d3d9d989 этот тест теперь не прошла бы.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>101032</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Shigorin">mike</who>
    <bug_when>2009-10-07 23:45:10 +0400</bug_when>
    <thetext>thinko fix (thx ldv@):
http://git.altlinux.org/people/mike/packages/?p=sisyphus_check.git;a=commitdiff;h=e64a1a8341a8db256d0d0894ca2a4d43b848d9e4</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>101036</commentid>
    <comment_count>3</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2009-10-08 03:17:39 +0400</bug_when>
    <thetext>sisyphus_check-0.8.14-alt1 -&gt; sisyphus:

* Wed Oct 07 2009 Dmitry V. Levin &lt;ldv@altlinux&gt; 0.8.14-alt1

- 140-check-perms:
  + Introduced /etc/sudo.d/* permissions check
    (by Michael Shigorin; closes: #21864).
  + Improved error messages (by Michael Shigorin).
- 240-check-browser: New check for invalid browser paths.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>