Commit Graph
19584 Commits
Author SHA1 Message Date
Jesse Glick 5bb0ed5c19 Reproduced original exploit. Framework of round tests, not yet confirmed to work. 2015-11-09 17:59:27 -05:00
Jesse Glick 1503255313 Now operating at chunked transport level. 2015-11-09 17:02:55 -05:00
Jesse Glick e01d3c779c This is intended to be a true blackbox test: while we customize the client behavior, it can run against any server. 2015-11-09 14:56:46 -05:00
Jesse Glick 9e459755b3 CLI help command can run even against an instance with no anonymous read access, so use that. 2015-11-09 14:44:26 -05:00
Jesse Glick bc69f8c11f Developed structure of blackbox test. 2015-11-07 18:39:27 -05:00
Kohsuke Kawaguchi ed407e66bc Merge pull request #41 from jenkinsci-cert/SECURITY-206
[SECURITY-206] Need to call ChannelConfigurator on JNLP slave channels
2015-11-05 13:53:47 -08:00
Jesse Glick 52c7ca45da Adding a warning to Javadoc. 2015-11-05 09:13:14 -05:00
Jesse Glick e77aa43b70 Strengthening test case slightly to verify that the security exception is the expected one. 2015-11-05 07:47:23 -05:00
Jesse Glick 1449f45284 For some reason secrets/master.key is not present during a CI build, though it is locally. 2015-11-05 07:13:30 -05:00
Jesse Glick 054a329c59 [SECURITY-206] Need to call ChannelConfigurator on JNLP slave channels. 2015-11-04 17:40:20 -05:00
Jesse Glick 574a0e7a06 Merge pull request #39 from varmenise/followup-security-186
[security-186]fix relative path
2015-11-04 11:15:44 -05:00
Valentina Armenise 33b55588a6 [security-186]fix relative path 2015-11-04 16:25:33 +01:00
Kohsuke Kawaguchi 1addc5d0fe Merge pull request #37 from jenkinsci-cert/SECURITY-214
[SECURITY-214] OfflineCause.toString() is a string, not necessarily HTML
2015-11-03 20:38:50 -08:00
Kohsuke Kawaguchi abe561499b [SECURITY-214] OfflineCause.toString() is a string, not necessarily HTML 2015-11-03 19:46:28 -08:00
Jesse Glick 5192c9e3d6 Merge pull request #23 from varmenise/security-186
[SECURITY-186] check user permissions in Queue API
2015-10-28 13:10:56 -04:00
Jesse Glick 2e439dc70b Merge pull request #34 from varmenise/security-184
[SECURITY-184] fix test failures checking null value
2015-10-28 13:08:55 -04:00
Valentina Armenise d85bf66542 [SECURITY-184] fix test failures checking null value 2015-10-15 10:13:19 +02:00
Valentina Armenise 581eb9ceb3 [SECURITY-186] check user permissions when calling QUEUE API 2015-10-13 15:56:46 +02:00
Oleg Nenashev 0594c4cbcc [SECURITY-153] Hide references to inaccessible jobs in fingerprints. 2015-10-12 17:37:53 -04:00
Jesse Glick 234303da82 Merge pull request #33 from jenkinsci-cert/SECURITY-200-1.580
[FIXED SECURITY-200] - Do not expose Api tokens to other users by default
2015-10-12 16:32:37 -04:00
Jesse Glick e3ee63993b Merge pull request #29 from jenkinsci-cert/SECURITY-195-1.580
[SECURITY-195] - Prevent the folder escaping
2015-10-12 16:26:35 -04:00
Jesse Glick 25360f5451 Merge pull request #17 from varmenise/security-184
[SECURITY-184] check secret-key in handshake
2015-10-12 16:23:59 -04:00
varmenise ef64bb20dd [SECURITY-184] revised version of the orginal patch 2015-10-07 11:00:06 +02:00
akshayabd 91515d31ce [SECURITY-184]check secret-key in handshake 2015-10-07 10:43:48 +02:00
Oleg Nenashev b3f16489ad [FIXED SECURITY-200] - Do not expose Api tokens to other users by default
System property can be used to restore the original behavior
2015-09-29 23:44:21 +03:00
Oleg Nenashev 45d65c2fa0 Fix comments from @jglick 2015-09-29 23:18:25 +03:00
Jesse Glick d933964429 Merge pull request #31 from jenkinsci-cert/SECURITY-192-1.580
[FIXED SECURITY-192] - Require Jenkins.READ permissions to access CLI pages
2015-09-29 16:12:35 -04:00
Oleg Nenashev df36ef89ea Annotate/document tests according to comments from @jglick 2015-09-29 23:04:31 +03:00
Oleg Nenashev 672f8deb68 Remove the dead code 2015-09-29 12:15:11 +03:00
Oleg Nenashev 6ea4534001 Update the unit test 2015-09-28 23:04:42 +03:00
valentina 553513a71c Merge pull request #25 from varmenise/security-173
[SECURITY-173] use XMLUtils safe transformation to create a job from xml
2015-09-25 13:52:42 +02:00
Valentina Armenise e78e9e8144 [SECURITY-173] use XMlUtils safe transformation to create a job from xml 2015-09-25 11:52:24 +02:00
Oleg Nenashev ed0bfe3014 Restrict everything excepting the predefined list of entries. 2015-09-25 10:52:53 +03:00
Oleg Nenashev 251bdb00ab [SECURITY-192] - Ensure that CLI can connect to CliAction without overall Jenkins.READ 2015-09-23 12:50:18 +03:00
Oleg Nenashev a41fcd560d Fix the failing test (a new one for CLI access would be useful) 2015-09-21 20:28:32 +03:00
Oleg Nenashev 9e439d462c [FIXED SECURITY-192] - Require Jenkins.READ permissions to access CLI pages 2015-09-21 13:46:29 +03:00
Oleg Nenashev ecab74af20 Do not print stacktraces 2015-09-21 13:45:21 +03:00
Oleg Nenashev f22db8a7fa Update the implementation and tests according to comments from @stephenc 2015-09-10 16:47:08 +03:00
Oleg Nenashev 5431e39721 [SECURITY-195] - Throw the MalformedURLException if the request includes the relative addressing 2015-09-10 16:46:59 +03:00
Oleg Nenashev 1002ada4dd [SECURITY-195] - Direct unit test for the issue 2015-09-10 16:46:52 +03:00
Oleg Nenashev f53802bb82 [SECURITY-169] - Convert crumb issuer salt to the confidential key 2015-09-09 14:51:59 -04:00
Jesse Glick 9fd9236392 Merge branch 'security' into security-stable-1.580 2015-03-17 14:17:09 -04:00
Oliver Gondža 2cc3afdebe [SECURITY-180] fix test 2015-03-17 18:01:49 +01:00
Kohsuke Kawaguchi c545777bd2 Merge branch 'security' into security-stable-1.580 2015-03-16 15:27:37 -07:00
Kohsuke Kawaguchi 6990809360 Merge pull request #14 from jenkinsci-cert/SECURITY-177
[SECURITY-177] Reflected XSS in AdjunctManager.doDynamic
2015-03-16 22:24:04 +00:00
Kohsuke Kawaguchi 73b53b231e [SECURITY-177]
Added a test case to cover bases
2015-03-16 15:20:38 -07:00
Jesse Glick 1780041009 Merge branch 'security' into security-stable-1.580
Conflicts:
	test/src/test/java/hudson/model/UserTest.java
2015-03-16 18:10:27 -04:00
Kohsuke Kawaguchi f58ba6e72f Merge pull request #15 from jenkinsci-cert/SECURITY-171
[SECURITY-171] XSS in FormValidation._error(..., Throwable, ...)
2015-03-16 22:03:51 +00:00
Kohsuke Kawaguchi 57e78880cc Merge pull request #13 from jenkinsci-cert/SECURITY-180
[SECURITY-180] arbitrary API Token change/leak via changeToken
2015-03-16 22:02:41 +00:00
Oliver Gondža f880d8d2cd [SECURITY-171] test 2015-03-07 20:32:17 +01:00