Commit Graph
20907 Commits
Author SHA1 Message Date
James Nord e073d331fd [FIXED SECURITY-243] Prefer resolving users by IDs first and foremost.
When looking up users we must always try to use the id first and fallback
to other methods only if this is unsucessful.
2016-04-20 18:54:07 +01:00
James Nord f4172ebb56 [SECURITY-243] Unit Test.
Unit test to show the issue where some form of user property is used for
obtaining the information needed to loging (api token/ user property)
2016-04-20 18:53:21 +01:00
Jesse Glick d6bcfdac70 Integrating newer remoting snapshot, and adding better diagnostics to BlacklistedTypesConverter. 2016-02-11 11:24:27 -05:00
Jesse Glick 0a1e46570d Merge pull request #61 from jenkinsci-cert/SECURITY-232
[SECURITY-232] Integrating Remoting build with blacklist
2016-02-10 18:05:11 -06:00
Jesse Glick 7f202f0317 Merge pull request #60 from jenkinsci-cert/SECURITY-247-v2
[FIX SECURITY-247] Prevent loading of MethodClosure from XML
2016-02-10 18:01:34 -06:00
Jesse Glick 27075c4feb Updated snapshot 2016-02-04 13:30:00 -05:00
Daniel Beck 37cea0a5e2 [SECURITY-247] Need to call both overloads 2016-02-04 14:43:30 +01:00
Daniel Beck 1870fb817e [SECURITY-247] Reuse remoting's ClassFilter for better coverage 2016-02-04 14:18:09 +01:00
Daniel Beck aa8b855af3 [SECURITY-247] Added doCreateItem test, improved loading test 2016-02-04 00:33:13 +01:00
Jesse Glick 1ec232ca1c [FIXED SECURITY-232] Integrating Remoting build with blacklist. 2016-02-03 17:40:36 -05:00
Daniel Beck 18cc8e0eb7 [FIX SECURITY-247] Prevent loading of MethodClosure from XML 2016-02-03 23:25:29 +01:00
Jesse Glick fb22305427 Merge pull request #55 from jenkinsci-cert/SECURITY-241
[FIX SECURITY-241] Compare API tokens in constant time
2016-02-03 19:10:35 +01:00
Jesse Glick 57473e82ce Merge pull request #54 from jenkinsci-cert/SECURITY-238
[FIX SECURITY-238] Don't echo command name
2016-02-03 19:10:14 +01:00
Jesse Glick 2463ec1384 Merge pull request #56 from jenkinsci-cert/SECURITY-245
[FIX SECURITY-245] Compare crumbs in constant time
2016-02-03 19:08:45 +01:00
Daniel Beck 919001c846 [SECURITY-241] Add explanation for chosen implementation 2016-02-02 11:52:40 +01:00
Daniel Beck 76d1958ebe [SECURITY-245] Use US-ASCII to prevent charset issues 2016-02-02 11:51:04 +01:00
Daniel Beck def5bdb198 [SECURITY-241] Use US-ASCII to prevent charset issues 2016-02-02 11:42:28 +01:00
Daniel Beck 281cd6c69a [SECURITY-245] Add explanation comment 2016-01-27 13:39:27 +01:00
Daniel Beck 559566b1ac [FIX SECURITY-245] Compare crumbs in constant time 2016-01-26 22:38:40 +01:00
Daniel Beck 79e0b64322 [FIX SECURITY-241] Compare API tokens in constant time 2016-01-26 21:46:10 +01:00
Daniel Beck f5c51fbad2 [FIX SECURITY-238] Don't echo command name 2016-01-26 11:40:22 +01:00
Jesse Glick 536c01bfca Merge pull request #53 from jenkinsci-cert/remoting-2.53.2
Integrating remoting 2.53.2
2015-12-01 21:31:47 -05:00
Jesse Glick d8852fc822 Integrating remoting 2.53.2. 2015-12-01 20:29:43 -05:00
Jesse Glick ba5e3f816d Merge pull request #52 from jenkinsci-cert/SECURITY-234
[FIX SECURITY-234] Abort plugin/core update on checksum mismatch
2015-12-01 20:26:31 -05:00
Daniel Beck 97adb71aa4 [SECURITY-234] Use core's commons-codec and remove workaround 2015-12-02 00:23:36 +01:00
Daniel Beck f99cb46e06 [SECURITY-234] Add test. Add helper method for code reuse 2015-12-01 18:26:17 +01:00
Daniel Beck c158648afa [SECURITY-234] More efficient digest computation, restrict API 2015-11-28 02:37:17 +01:00
Daniel Beck 9ec88357a3 [SECURITY-234] Getters instead of fields; trim base64 to fix test 2015-11-27 16:54:49 +01:00
Daniel Beck 11479a2cc0 [FIX SECURITY-234] Abort plugin/core update on checksum mismatch 2015-11-27 14:04:03 +01:00
Jesse Glick f7880ba04b Merge pull request #51 from jenkinsci-cert/SECURITY-233
[FIX SECURITY-233] Remove multipart form exception from crumb filter
2015-11-25 15:28:45 -05:00
Jesse Glick 704d2ee4fb Merge pull request #50 from jenkinsci-cert/SECURITY-225
[FIX SECURITY-225] Add RequirePOST annotations
2015-11-25 15:27:51 -05:00
Jesse Glick 27c303417a Merge pull request #49 from jenkinsci-cert/SECURITY-95
[FIX SECURITY-95] Add CSP headers to files served by Jenkins
2015-11-25 15:26:25 -05:00
Daniel Beck ba74788810 [SECURITY-233] Only append crumb to URL in multipart forms 2015-11-19 19:41:26 +01:00
Daniel Beck ef2c0dc163 [FIX SECURITY-233] Remove multipart form exception from crumb filter 2015-11-19 17:42:14 +01:00
Daniel Beck 83f18a8e6a [SECURITY-225] Fix failing tests 2015-11-16 01:03:08 +01:00
Daniel Beck 40a28999e2 [FIX SECURITY-225] Add RequirePOST annotations 2015-11-15 21:07:06 +01:00
Daniel Beck d3fb2c09f2 [FIX SECURITY-95] Add CSP headers to files served by Jenkins 2015-11-15 19:52:25 +01:00
Kohsuke Kawaguchi a78b13e7d0 Merge branch 'security-stable-1.596' into security-stable-1.609 2015-11-10 10:17:04 -08:00
Kohsuke Kawaguchi de3bf08adb Merge branch 'security-stable-1.580' into security-stable-1.596 2015-11-10 10:16:36 -08:00
Kohsuke Kawaguchi be52ba3e9e Integrated a released version of remoting 2015-11-10 10:16:01 -08:00
Kohsuke Kawaguchi 58fffa5141 Merge pull request #48 from jenkinsci-cert/SECURITY-218-tests
[SECURITY-218] - Functional tests for CLI
2015-11-10 10:12:20 -08:00
Kohsuke Kawaguchi b4193d1132 Merge pull request #45 from jenkinsci-cert/SECURITY-218-blackbox
[SECURITY-218] Blackbox test
2015-11-10 10:11:59 -08:00
Oleg Nenashev 513c91acc7 [SECURITY-218] - Fix the obsolete TODO comment in the test 2015-11-10 20:43:13 +03:00
Jesse Glick f53d9a4797 Merge remote-tracking branch 'SECURITY-218-tests' into SECURITY-218-blackbox 2015-11-10 09:23:53 -05:00
Oleg Nenashev 1d129fb286 [SECURITY-218] - Fix library scopes 2015-11-10 17:22:22 +03:00
Jesse Glick ad099f05ac Use X-Jenkins-CLI-Host where defined. 2015-11-09 22:15:52 -05:00
Jesse Glick d7023f9a36 Need to rename environment variables since $JENKINS_URL is defined on CI. 2015-11-09 21:50:08 -05:00
Jesse Glick 3b59990a02 Merge remote-tracking branch 'security-stable-1.580' into SECURITY-218-blackbox 2015-11-09 21:05:46 -05:00
Jesse Glick b2ab469b6f Using ysoserial directly.
Trying to touch userContent rather than some random file, so that we can verify the result remotely.
Reducing rounds to two: one for capability, one for random transport commands.
2015-11-09 21:04:47 -05:00
Jesse Glick 430406cbac Merge remote-tracking branch 'security/SECURITY-218-tests' into SECURITY-218-blackbox 2015-11-09 20:21:54 -05:00