2012-09-04 2 views
0

"WebDAV 확장이 사용 가능"으로 인해 고객의 웹 사이트 중 하나에서 PCI 검사를 수행하지 못했습니다. 포트 80/tcp 및 포트 443/tcp 얻기 취약한 HTTP 서비스 실행 : Apache 2.4.3. Apache dav를 비활성화하면 dav_fs가 작동하지 않습니다.WebDav로 인한 PCI 검사 실패

을 httpd.conf : 도와주세요

Options -Indexes  
    <IfModule mod_rewrite.c>  
RewriteEngine On 
RewriteBase/ 
RewriteRule ^index\.php$ - [L] 
RewriteCond %{REQUEST_FILENAME} !-f 
RewriteCond %{REQUEST_FILENAME} !-d 
RewriteRule . /index.php [L]  
    </IfModule>  
RewriteEngine on 
RewriteCond %{REQUEST_METHOD} ^HEAD 
RewriteRule .* [email protected]~S[F] 
RewriteCond %{DAV} !^$ 
RewriteRule . - [L] 

ServerRoot "/usr/local/apache" 
Listen 80  
LoadModule authn_file_module modules/mod_authn_file.so 
LoadModule authn_socache_module modules/mod_authn_socache.so 
LoadModule authn_core_module modules/mod_authn_core.so 
LoadModule authz_host_module modules/mod_authz_host.so 
LoadModule authz_groupfile_module modules/mod_authz_groupfile.so 
LoadModule authz_user_module modules/mod_authz_user.so 
LoadModule authz_core_module modules/mod_authz_core.so  
LoadModule access_compat_module modules/mod_access_compat.so 
LoadModule auth_basic_module modules/mod_auth_basic.so 
LoadModule auth_digest_module modules/mod_auth_digest.so 
LoadModule cache_module modules/mod_cache.so 
LoadModule socache_shmcb_module modules/mod_socache_shmcb.so 
LoadModule reqtimeout_module modules/mod_reqtimeout.so 
LoadModule filter_module modules/mod_filter.so  
LoadModule mime_module modules/mod_mime.so 
LoadModule log_config_module modules/mod_log_config.so 
LoadModule env_module modules/mod_env.so 
LoadModule headers_module modules/mod_headers.so 
LoadModule setenvif_module modules/mod_setenvif.so 
LoadModule version_module modules/mod_version.so 
LoadModule ssl_module modules/mod_ssl.so 
LoadModule unixd_module modules/mod_unixd.so 
LoadModule status_module modules/mod_status.so 
LoadModule dir_module modules/mod_dir.so 
LoadModule alias_module modules/mod_alias.so 
LoadModule rewrite_module modules/mod_rewrite.so 
LoadModule php5_module modules/libphp5.so  

    ServerAdmin [email protected] 
    ServerName www.example.com:80 
    <Directory />  
    AllowOverride none 
    Require all denied  
    </Directory> 
TraceEnable off 
DocumentRoot "/var/www/html" 
    <Directory "/var/www/html">  
    Options Indexes FollowSymLinks 
    AllowOverride All 
    </Directory>  
    <IfModule dir_module>  
    DirectoryIndex index.php index.html  
    </IfModule>  
ErrorLog "logs/error_log" 
LogLevel warn 
    <IfModule log_config_module>  
    LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined 
    LogFormat "%h %l %u %t \"%r\" %>s %b" common 
    <IfModule logio_module>  
     LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" combinedio  
    </IfModule>  
    CustomLog "logs/access_log" common  
    </IfModule>  
    <IfModule mime_module>  
    TypesConfig conf/mime.types  
    AddType application/x-compress .Z  
    AddType application/x-gzip .gz .tgz  
    AddType text/html  .php  
    AddType application/x-httpd-php-source phps  
    AddHandler php5-script .php  
    </IfModule>  
    Include conf/extra/httpd-ssl.conf  
    <IfModule ssl_module>  
SSLRandomSeed startup builtin  
SSLRandomSeed connect builtin  
    </IfModule>  
    <IfModule setenvif_module>  
BrowserMatch "MSIE 10.0;" bad_DNT  
    </IfModule>  
    <IfModule headers_module>  
RequestHeader unset DNT env=bad_DNT  
    </IfModule>  
Timeout 60  
StartServers 1 
    <IfModule prefork.c>  
MinSpareServers 1 
MaxSpareServers 1  
    </IfModule>  
ServerLimit 256  
MaxClients 25 
MaxRequestsPerChild 80 
KeepAlive On 
KeepAliveTimeout 5 
MaxKeepAliveRequests 30 

htaccess로. 미리 감사드립니다.

답변

0

나는 동일한 문제가 있었으며 거짓 긍정이었다. ssh로 서버에 로그인하여로드 된 모듈을 나열하려면 httpd -M을 입력하고 dav 모듈이로드되지 않았 음을 증명하기 위해 ASV에 해당 세션의 스크린 샷을 보냈습니다. 문제는 마감되었습니다.

관련 문제