Skip to content

Commit c98d7bb

Browse files
committed
* SECURITY.md: Tweak/expand text around configurations.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1936133 13f79535-47bb-0310-9956-ffa450edef68
1 parent 9ffacf8 commit c98d7bb

1 file changed

Lines changed: 14 additions & 1 deletion

File tree

SECURITY.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,12 @@ Any security vulnerability SHOULD be reproducible:
4242
Issues which are reproducible only using instrumented builds (such as
4343
ASAN, or under valgrind) should be clearly explained as such.
4444

45+
Issues which depend on a specially crafted server configuration MUST
46+
include references (such as public documentation) which show why that
47+
is a configuration that would arise naturally in common deployments.
48+
Special considerations also apply to any issues requiring `.htaccess`
49+
files, per the [Delegated Configuration](#delegated-configuration) section.
50+
4551
## Basic model
4652

4753
Processing of requests by remote untrusted users (HTTP clients) MUST
@@ -110,11 +116,18 @@ gain a significant degree of control over, and access to, the server
110116
at run-time:
111117

112118
* site authors are trusted to not attack the server with malformed or
113-
malicious .htaccess files (for example, files of excessive size).
119+
malicious .htaccess files
114120

115121
* site authors gain access to some data (such as files or the
116122
environment) which is otherwise restricted.
117123

124+
Examples of malicious `.htaccess` files include, but are not limited
125+
to:
126+
127+
* configuration files of excessive size
128+
* configurations using deliberately constructed regular expressions
129+
which are expensive to evaluate
130+
118131
In configurations supporting in-process scripting language interpreters
119132
which are not sandboxed, such as `mod_lua` or `mod_php`,
120133
site authors have exactly equivalent privileges to the user which the

0 commit comments

Comments
 (0)