diff options
author | Heiko Schlittermann (HS12-RIPE) <hs@schlittermann.de> | 2016-01-28 22:20:33 +0100 |
---|---|---|
committer | Heiko Schlittermann (HS12-RIPE) <hs@schlittermann.de> | 2016-02-18 17:36:56 +0100 |
commit | bc3c7bb7d4aba3e563434e5627fe1f2176aa18c0 (patch) | |
tree | 769b3afeefcc0c189967965f00576b756e9e7966 /test/stderr | |
parent | 382bf15bed5d85fe017dd3b7d117eeb28f219358 (diff) |
Fix CVE-2016-1531exim-4_87_RC4
Add keep_environment, add_environment.
Change the working directory to "/" during the early startup
phase.
(cherry picked from commit 2b92b67bfc33efe05e6ff2ea3852731ac2273832)
(cherry picked from commit 14b82c8b736c8ed24eda144f57703cb9feac6323)
(cherry picked from commit 9ca92d0c6e9c6f161bd8111366c6952d3a9315e2)
(cherry picked from commit 0020c6d9ecfd98ed7b2b337ed4f898fdc409784b)
(cherry picked from commit e8f96966360ea8867ad6a8b5affda6c37fa4958c)
(cherry picked from commit ef6fb807c1e1a665f444f644c60c77269f7c5209)
Diffstat (limited to 'test/stderr')
-rw-r--r-- | test/stderr/0002 | 15 | ||||
-rw-r--r-- | test/stderr/0013 | 2 | ||||
-rw-r--r-- | test/stderr/0148 | 2 | ||||
-rw-r--r-- | test/stderr/0236 | 2 | ||||
-rw-r--r-- | test/stderr/0290 | 2 | ||||
-rw-r--r-- | test/stderr/0348 | 8 | ||||
-rw-r--r-- | test/stderr/0415 | 20 | ||||
-rw-r--r-- | test/stderr/0442 | 2 | ||||
-rw-r--r-- | test/stderr/0615 | 15 |
9 files changed, 49 insertions, 19 deletions
diff --git a/test/stderr/0002 b/test/stderr/0002 index b4f06a104..c19ce9ce3 100644 --- a/test/stderr/0002 +++ b/test/stderr/0002 @@ -130,6 +130,11 @@ expanding: -oMt sender_ident = $sender_ident Exim version x.yz .... changed uid/gid: forcing real = effective uid=uuuu gid=CALLER_GID pid=pppp +PATH in keep_environment? no (end of list) +PWD in keep_environment? no (end of list) +SHELL in keep_environment? no (end of list) +TERM in keep_environment? no (end of list) +USER in keep_environment? yes (matched "USER") configuration file is TESTSUITE/test-config admin user changed uid/gid: privilege not needed @@ -189,6 +194,11 @@ search_tidyup called Exim version x.yz .... changed uid/gid: forcing real = effective uid=uuuu gid=CALLER_GID pid=pppp +PATH in keep_environment? no (end of list) +PWD in keep_environment? no (end of list) +SHELL in keep_environment? no (end of list) +TERM in keep_environment? no (end of list) +USER in keep_environment? yes (matched "USER") configuration file is TESTSUITE/test-config admin user changed uid/gid: privilege not needed @@ -373,6 +383,11 @@ LOG: 10HmbD-0005vi-00 H=[V4NET.0.0.0] F=<> rejected after DATA: reply_address=<> Exim version x.yz .... changed uid/gid: -C, -D, -be or -bf forces real uid uid=CALLER_UID gid=CALLER_GID pid=pppp +PATH in keep_environment? no (end of list) +PWD in keep_environment? no (end of list) +SHELL in keep_environment? no (end of list) +TERM in keep_environment? no (end of list) +USER in keep_environment? yes (matched "USER") configuration file is TESTSUITE/test-config admin user originator: uid=CALLER_UID gid=CALLER_GID login=CALLER name=CALLER_NAME diff --git a/test/stderr/0013 b/test/stderr/0013 index 78e7e579a..74c607a1b 100644 --- a/test/stderr/0013 +++ b/test/stderr/0013 @@ -1,2 +1,2 @@ -1999-03-02 09:44:33 Exim configuration error in line 15 of TESTSUITE/test-config: +1999-03-02 09:44:33 Exim configuration error in line 16 of TESTSUITE/test-config: extra characters follow string value for relay_hosts diff --git a/test/stderr/0148 b/test/stderr/0148 index 1b5b73a21..f7153995d 100644 --- a/test/stderr/0148 +++ b/test/stderr/0148 @@ -1,3 +1,3 @@ LOG: PANIC DIE - Exim configuration error in line 17 of TESTSUITE/test-config: + Exim configuration error in line 18 of TESTSUITE/test-config: missing quote at end of string value for hold_domains diff --git a/test/stderr/0236 b/test/stderr/0236 index 193370cc8..75ed334bf 100644 --- a/test/stderr/0236 +++ b/test/stderr/0236 @@ -1,3 +1,3 @@ LOG: PANIC DIE - Exim configuration error in line 15 of TESTSUITE/test-config: + Exim configuration error in line 16 of TESTSUITE/test-config: macro name too long (maximum is 63 characters) diff --git a/test/stderr/0290 b/test/stderr/0290 index cd1712e9f..729780b71 100644 --- a/test/stderr/0290 +++ b/test/stderr/0290 @@ -1,3 +1,3 @@ LOG: PANIC DIE - Exim configuration error in line 27 of TESTSUITE/test-config: + Exim configuration error in line 28 of TESTSUITE/test-config: .include specifies a non-absolute path "non/absolute" diff --git a/test/stderr/0348 b/test/stderr/0348 index d2c59c2ad..d18082f4c 100644 --- a/test/stderr/0348 +++ b/test/stderr/0348 @@ -1,8 +1,8 @@ -1999-03-02 09:44:33 Exim configuration error in line 25 of TESTSUITE/test-config: +1999-03-02 09:44:33 Exim configuration error in line 26 of TESTSUITE/test-config: bad parameters for retry rule -1999-03-02 09:44:33 Exim configuration error in line 25 of TESTSUITE/test-config: +1999-03-02 09:44:33 Exim configuration error in line 26 of TESTSUITE/test-config: bad parameters for retry rule -1999-03-02 09:44:33 Exim configuration error in line 25 of TESTSUITE/test-config: +1999-03-02 09:44:33 Exim configuration error in line 26 of TESTSUITE/test-config: bad parameters for retry rule -1999-03-02 09:44:33 Exim configuration error in line 25 of TESTSUITE/test-config: +1999-03-02 09:44:33 Exim configuration error in line 26 of TESTSUITE/test-config: bad parameters for retry rule diff --git a/test/stderr/0415 b/test/stderr/0415 index 062b67be5..95b5e7f5e 100644 --- a/test/stderr/0415 +++ b/test/stderr/0415 @@ -1,30 +1,30 @@ LOG: PANIC DIE - Exim configuration error in line 20 of TESTSUITE/test-config: + Exim configuration error in line 21 of TESTSUITE/test-config: absolute value of integer "4000000M" is too large (overflow) LOG: PANIC DIE - Exim configuration error in line 20 of TESTSUITE/test-config: + Exim configuration error in line 21 of TESTSUITE/test-config: extra characters follow integer value for check_spool_space LOG: PANIC DIE - Exim configuration error in line 21 of TESTSUITE/test-config: + Exim configuration error in line 22 of TESTSUITE/test-config: integer "4000000000.123" is too large (overflow) LOG: PANIC DIE - Exim configuration error in line 21 of TESTSUITE/test-config: + Exim configuration error in line 22 of TESTSUITE/test-config: integer "4000000.123" is too large (overflow) LOG: PANIC DIE - Exim configuration error in line 23 of TESTSUITE/test-config: + Exim configuration error in line 24 of TESTSUITE/test-config: absolute value of integer "999999999999999999" is too large (overflow) LOG: PANIC DIE - Exim configuration error in line 23 of TESTSUITE/test-config: + Exim configuration error in line 24 of TESTSUITE/test-config: absolute value of integer "999999999K" is too large (overflow) LOG: PANIC DIE - Exim configuration error in line 23 of TESTSUITE/test-config: + Exim configuration error in line 24 of TESTSUITE/test-config: absolute value of integer "999999M" is too large (overflow) LOG: PANIC DIE - Exim configuration error in line 23 of TESTSUITE/test-config: + Exim configuration error in line 24 of TESTSUITE/test-config: extra characters follow integer value for finduser_retries LOG: PANIC DIE - Exim configuration error in line 23 of TESTSUITE/test-config: + Exim configuration error in line 24 of TESTSUITE/test-config: integer expected for finduser_retries LOG: PANIC DIE - Exim configuration error in line 23 of TESTSUITE/test-config: + Exim configuration error in line 24 of TESTSUITE/test-config: extra characters follow integer value for finduser_retries diff --git a/test/stderr/0442 b/test/stderr/0442 index 6db126e5a..f8afd85ea 100644 --- a/test/stderr/0442 +++ b/test/stderr/0442 @@ -1,2 +1,2 @@ -1999-03-02 09:44:33 Exim configuration error in line 43 of TESTSUITE/test-config: +1999-03-02 09:44:33 Exim configuration error in line 44 of TESTSUITE/test-config: failed to open included configuration file /non/existent diff --git a/test/stderr/0615 b/test/stderr/0615 new file mode 100644 index 000000000..85ee6f760 --- /dev/null +++ b/test/stderr/0615 @@ -0,0 +1,15 @@ +LOG: MAIN + WARNING: purging the environment. + Suggested action: use keep_environment and add_environment. + +LOG: MAIN + WARNING: purging the environment. + Suggested action: use keep_environment and add_environment. + +LOG: MAIN + WARNING: purging the environment. + Suggested action: use keep_environment and add_environment. + +1999-03-02 09:44:33 WARNING: purging the environment. + Suggested action: use keep_environment and add_environment. + |