Commit Graph
13162 Commits
Author SHA1 Message Date
Jesse Glick 26406cd16e Merge branch 'security-stable-1.625' into security-stable-1.642 2017-01-03 14:56:09 -05:00
Jesse Glick 169056e762 Documenting existence of escapeEntryTitleAndDescription flag as suggested by @daniel-beck. 2017-01-03 12:48:26 -05:00
Jesse Glick ea2ca1c5cb Extended markup formatter fix to other core parameter types. 2016-12-21 18:10:10 -05:00
Jesse Glick 0b471b7b69 [SECURITY-353] Fixed markup formatter for StringParameterDefinition/Value. 2016-12-21 18:01:46 -05:00
Jesse Glick bedf304cd1 Merge branch 'security-stable-1.625' into SECURITY-353 2016-12-21 17:58:52 -05:00
Jesse Glick 2c1c1ecef9 Placate the JDK 9 compiler.
(cherry picked from commit 441bf1c255)
2016-12-21 17:57:05 -05:00
Jesse Glick b561ca5696 [SECURITY-353] Solved XSS, at the cost of markup formatters. 2016-12-21 17:49:16 -05:00
Jesse Glick c8aa949ff5 Noting need for escapes. 2016-12-21 17:04:20 -05:00
Jesse Glick 733e7a454d Merge branch 'security-stable-1.625' into security-stable-1.642 2016-12-20 15:18:25 -05:00
Jesse Glick 767a919b5d Merge pull request #83 from jenkinsci-cert/SECURITY-354
[SECURITY-354] Using jBCrypt 0.4
2016-12-20 15:16:46 -05:00
Andrew Bayer 17b98d6246 Responding to review comments. 2016-12-16 13:44:36 -05:00
Andrew Bayer 8126525582 [SECURITY-371] Ensure admin access for all AdministrativeMonitor actions. 2016-12-16 13:36:47 -05:00
Jesse Glick 578298e70d [SECURITY-354] Using jBCrypt 0.4. 2016-11-21 16:20:38 -05:00
Kohsuke Kawaguchi d6bba752b9 Merge branch 'security-stable-1.625' into security-stable-1.642 2016-11-11 17:42:43 -08:00
Kohsuke Kawaguchi fde9c42fe0 [SECURITY-360] introduce a system switch to kill CLI
This basically is a convenient version of
https://github.com/jenkinsci-cert/SECURITY-218.

During the course of discussing how to fix SECURITY-360, it was agreed
by the CERT team that we provide this switch.
2016-11-11 13:02:24 -08:00
Jesse Glick ecf0ec7d3d Merge branch 'security-stable-1.625' into security-stable-1.642 2016-04-29 15:31:00 -04:00
Jesse Glick 0f5e70f15a Merge branch 'security-stable-1.609' into security-stable-1.625 2016-04-29 15:30:27 -04:00
Jesse Glick edffecea84 Merge pull request #59 from jenkinsci-cert/SECURITY-170-v2
[FIX SECURITY-170] Don't expose parameters not defined on the run
2016-04-29 15:29:56 -04:00
Antonio Muñiz a7264a9627 [SECURITY-170] More tests 2016-04-29 20:00:49 +02:00
Jesse Glick 7d4065562c Merge branch 'security-stable-1.625' into security-stable-1.642 2016-04-29 13:36:19 -04:00
Jesse Glick b85c74fc0c Merge branch 'security-stable-1.609' into security-stable-1.625 2016-04-29 13:36:09 -04:00
Jesse Glick 6a6446a031 Backporting concurrentHashMapSerialization test removal from #2071, as it prevents use of JDK 8 to run core tests. 2016-04-29 13:23:25 -04:00
Antonio Muñiz 92556fd1a3 [SECURITY-170] Whitelisted parameters system property added (as suggested by @jglick) 2016-04-29 18:22:13 +02:00
Jesse Glick 2992fdad76 Merge branch 'security-stable-1.625' into security-stable-1.642 2016-04-29 12:07:24 -04:00
Jesse Glick 416439ef2f Merge branch 'security-stable-1.609' into security-stable-1.625 2016-04-29 12:02:15 -04:00
Jesse Glick de29daa369 Merge pull request #63 from jenkinsci-cert/SECURITY-266
[SECURITY-266] Conceal ciphertext from users who could not resubmit it here
2016-04-29 12:01:27 -04:00
Jesse Glick aeefa6eb99 More informative error when refusing to copy. 2016-04-29 08:18:13 -04:00
Jesse Glick fa99d6fe8e Merge branch 'security-stable-1.625' into security-stable-1.642 2016-04-29 07:51:12 -04:00
Jesse Glick 2de7f0adc5 Merge branch 'security-stable-1.609' into security-stable-1.625 2016-04-29 07:49:20 -04:00
Jesse Glick 9b7b8b8510 Merge pull request #69 from jenkinsci-cert/SECURITY-243-amended
[SECURITY-243] Prefer id to fullName
2016-04-29 07:39:21 -04:00
Jesse Glick f4c7571baf Make it possible to disable SecurityRealm.loadUserByUsername call with a system property if it proves too slow in certain circumstances. 2016-04-28 17:55:22 -04:00
Jesse Glick 11120802c1 Merge branch 'security-stable-1.625' into security-stable-1.642 2016-04-28 17:37:52 -04:00
Jesse Glick c88268d870 Merge branch 'security-stable-1.609' into security-stable-1.625 2016-04-28 17:36:42 -04:00
Jesse Glick 0d553f2d55 Merge pull request #67 from jenkinsci-cert/SECURITY-276
[FIX SECURITY-276] Don't allow open redirect using scheme-rel. URL
2016-04-28 17:32:13 -04:00
Antonio Muñiz 84174a922c [SECURITY-170] Add @daniel-beck's suggested tests 2016-04-28 21:06:27 +02:00
Jesse Glick d66ad6f3ee [FIXED SECURITY-281] MasterComputer.doConfigDotXml should be rejected. 2016-04-27 19:19:37 -04:00
Daniel Beck 38f8b43e8d [SECURITY-276] Add more tests for relative URLs 2016-04-28 00:45:43 +02:00
Jesse Glick 9db79196ae Expanded Javadoc, and removed since tag which is irrelevant on a restricted member. 2016-04-27 16:05:13 -04:00
Jesse Glick 28701a8ec8 Forgot to make UserIDCanonicalIdResolver catch DataAccessException.
Unclear if, say, LDAPSecurityRealm ever throws this.
2016-04-27 16:03:19 -04:00
Jesse Glick df14d15740 [SECURITY-243] Defend any victim known to the security realm, even if not otherwise loaded. 2016-04-27 15:53:53 -04:00
Antonio Muñiz 0ce2a1ae3a [SECURITY-170] Store initial parameters list for later use 2016-04-27 15:35:49 +02:00
Daniel Beck e6efae7d0d [SECURITY-276] Better method name, add tests 2016-04-27 13:51:10 +02:00
Jesse Glick 93229dfc24 Merge branch 'security-stable-1.625' into security-stable-1.642 2016-04-26 15:57:52 -04:00
Jesse Glick 97a62a9bcc Merge branch 'security-stable-1.609' into security-stable-1.625 2016-04-26 15:57:32 -04:00
Jesse Glick 53dd9046c9 Merge pull request #68 from jenkinsci-cert/SECURITY-273
[FIX SECURITY-273] Require admin permission to check update sites
2016-04-26 15:57:12 -04:00
Jesse Glick a92bb2dfbe Merge pull request #62 from jenkinsci-cert/SECURITY-250
[FIX SECURITY-250] Restrict access to admin APIs
2016-04-26 15:56:56 -04:00
James Nord d1d1ab152b [SECURITY-243] APIToken auth needs to create the user.
In the case the user is valid but not saved the user need to be created.
This catches the case where the user has not saved anything and is using
their default API token.
2016-04-26 12:54:45 +01:00
Daniel Beck 56be107feb [FIX SECURITY-273] Require admin permission to check update sites 2016-04-25 21:06:54 +02:00
Daniel Beck 2ed0c046df [FIX SECURITY-276] Don't allow open redirect using scheme-rel. URL 2016-04-25 19:50:53 +02:00
James Nord 0f038be577 [SECURITY-243] further minor improvements.
Fix a couple more calls and add a pointer to Jenkins.getUser()
2016-04-21 14:06:10 +01:00