Skip to Main Content

Integration

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

http trace methods allowed

user11237563Feb 21 2011 — edited Jul 11 2011
we have received from the external vendor penetration test results stating

Dangerous Http methods like PUT, DELETE, MCKOL, LOCK, MOVE allows a remote user to upload files, delete files, Create directories and lock files on the web server. Kindly disable the Dangerous methods. If these methods are required, then restrict or deactivate access.

we have iplanet version 7 update 9.

But I have uncomment the #Service method="TRACE" fn="service-trace" in obj.conf also my default acl is

version 3.0;
acl "default";
authenticate (user, group) {
prompt = "Sun ONE Web Server";
};
deny absolute (http_trace,http_put,http_delete,http_move,http_mkdir,http_rmdir)
user = "anyone";
allow (read, execute, info) user = "anyone";
allow (list, write, delete) user = "all";

acl "es-internal";
deny absolute (http_trace,http_put,http_delete,http_move,http_mkdir,http_rmdir)
user = "anyone";
allow (read, execute, info) user = "anyone";
deny (list, write, delete) user = "anyone";

in the logs i am getting

- - [21/Feb/2011:09:32:43 +0400] "GET /expired.htm HTTP/1.1" 200 656
- - [21/Feb/2011:09:32:43 +0400] "GET /xZ2fR5.html HTTP/1.1" 302 1188
- - [21/Feb/2011:09:32:43 +0400] "GET /expired.htm HTTP/1.1" 200 656
- - [21/Feb/2011:09:32:43 +0400] "GET / HTTP/9.8" 505 196
- - [21/Feb/2011:09:32:43 +0400] "HEAD / HTTP/1.1" 200 0
- - [21/Feb/2011:09:32:44 +0400] "OPTIONS / HTTP/1.1" 200 0
- - [21/Feb/2011:09:32:44 +0400] "DELETE / HTTP/1.1" 403 142
- - [21/Feb/2011:09:32:44 +0400] "TEST / HTTP/1.1" 501 148
- - [21/Feb/2011:09:32:44 +0400] "GET /etc/passwd?format=%%%&xss="><script>alert('xss');</script>&traversal=
../../&sql='%20OR%200;" 302 1196
- - [21/Feb/2011:09:32:44 +0400] "GET /etc/expired.htm HTTP/1.1" 302 1196

instead of 405 we are getting 403 errot

can any one please tell me whether this settings are ok ?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 8 2011
Added on Feb 21 2011
16 comments
3,742 views