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
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
Valentina Armenise
33b55588a6
[security-186]fix relative path
2015-11-04 16:25:33 +01: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
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
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 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
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
1002ada4dd
[SECURITY-195] - Direct unit test for the issue
2015-09-10 16:46:52 +03: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
Oliver Gondža
25bf232c0d
[SECURITY-180] Test
2015-03-07 20:02:02 +01:00
Kohsuke Kawaguchi
45c23d3352
Merge branch 'security' into security-stable-1.580
2015-02-27 16:44:02 -08:00
Kohsuke Kawaguchi
25411a0bed
Fixed a test failure
...
With the server-side download, the test needs to induce the update
center metadata retrieval in a separate manner.
2015-02-27 15:35:13 -08:00
Jesse Glick
d6d127d637
Merge branch 'security' into security-stable-1.580
...
Conflicts:
test/src/test/java/hudson/tasks/ArtifactArchiverTest.java
2015-02-07 11:28:06 -05:00
Jesse Glick
be06d6c4b8
Merge pull request #11 from jenkinsci-cert/SECURITY-162
...
[SECURITY-162] Forbid symlink attacks from artifact archiving
2015-02-07 11:25:08 -05:00
Jesse Glick
ade1d43664
Merge branch 'security' into security-stable-1.580
...
Conflicts:
core/src/main/java/hudson/model/Api.java
2015-02-06 17:24:01 -05:00
Robert Sandell
1887656c11
Merge pull request #9 from jenkinsci-cert/SECURITY-165
...
[SECURITY-165] blacklist the document xpath function for use in Api
2015-02-06 18:18:30 +01:00
Jesse Glick
1bba1ac3c6
[SECURITY-162] Capture the root directory in VirtualFile.forFile and reject attempts to escape it.
2015-02-06 11:37:24 -05:00
Robert Sandell
1629a93fbc
Tidy up
...
Review comments fixed:
Added license header
Reformat the issue comment
Restricted NoExternalUse
toLowerCase in English locale
lesser resolution of declared exception from the test
2015-02-06 10:34:41 +01:00
Jesse Glick
57d2b5382b
Merge pull request #8 from jenkinsci-cert/testConfigureDownstreamProjectSecurity-RandomlyFails
...
@RandomlyFails
2015-02-05 21:27:55 -05:00
Jesse Glick
b237a41af4
Also checking DirectoryBrowserSupport behavior, as in DirectoryBrowserSupportTest.
2015-02-05 18:42:54 -05:00
Jesse Glick
b72246edb1
outsideSymlinks
2015-02-05 18:30:16 -05:00
Jesse Glick
c9836e7552
Merge branch 'security' into security-stable-1.580
2015-02-05 17:47:32 -05:00
Ryan Campbell
3e40c6fa00
Merge pull request #10 from jenkinsci-cert/SECURITY-166
...
[SECURITY-166] Make UI tests work across Jenkins versions
2015-02-05 16:39:50 -06:00
Jesse Glick
f3fe83803d
Merge branch 'security' into security-stable-1.580
...
Conflicts:
core/src/main/java/hudson/ClassicPluginStrategy.java
core/src/main/java/hudson/cli/AddJobToViewCommand.java
core/src/main/java/hudson/model/Run.java
core/src/main/java/hudson/tasks/junit/JUnitResultArchiver.java
core/src/main/java/jenkins/model/IdStrategyDescriptor.java
core/src/main/resources/hudson/model/AbstractProject/configure-common_ru.properties
core/src/main/resources/hudson/model/AbstractProject/configure-common_tr.properties
core/src/main/resources/hudson/model/Job/index.jelly
core/src/main/resources/jenkins/model/IdStrategy/config.jelly
core/src/main/resources/jenkins/model/Jenkins/MasterComputer/_api.jelly
core/src/main/resources/jenkins/security/s2m/AdminCallableMonitor/message.jelly
core/src/main/resources/jenkins/security/s2m/MasterKillSwitchWarning/message.jelly
core/src/main/resources/jenkins/slaves/systemInfo/EnvVarsSlaveInfo/systemInfo.jelly
core/src/main/resources/jenkins/slaves/systemInfo/Messages.properties
core/src/main/resources/jenkins/slaves/systemInfo/Messages_da.properties
core/src/main/resources/jenkins/slaves/systemInfo/Messages_de.properties
core/src/main/resources/jenkins/slaves/systemInfo/Messages_es.properties
core/src/main/resources/jenkins/slaves/systemInfo/Messages_fr.properties
core/src/main/resources/jenkins/slaves/systemInfo/Messages_ja.properties
core/src/main/resources/jenkins/slaves/systemInfo/Messages_nl.properties
core/src/main/resources/jenkins/slaves/systemInfo/Messages_pt_BR.properties
core/src/main/resources/jenkins/slaves/systemInfo/Messages_sv_SE.properties
core/src/main/resources/jenkins/slaves/systemInfo/Messages_zh_TW.properties
core/src/main/resources/lib/form/link.jelly
core/src/main/resources/lib/hudson/failed-test_pt_BR.properties
core/src/main/resources/lib/hudson/project/configurable.properties
core/src/main/resources/lib/hudson/project/configurable_bg.properties
core/src/main/resources/lib/hudson/project/configurable_es_AR.properties
core/src/main/resources/lib/hudson/project/configurable_eu.properties
core/src/main/resources/lib/hudson/project/configurable_gl.properties
core/src/main/resources/lib/hudson/project/configurable_hi_IN.properties
core/src/main/resources/lib/hudson/project/configurable_it.properties
core/src/main/resources/lib/hudson/project/configurable_nl.properties
core/src/main/resources/lib/hudson/project/configurable_sl.properties
core/src/main/resources/lib/hudson/project/configurable_tr.properties
core/src/main/resources/lib/hudson/project/console-link.jelly
core/src/main/resources/lib/hudson/project/console-link_pt_BR.properties
core/src/main/resources/lib/layout/breadcrumbBar_pt.properties
core/src/main/resources/lib/layout/layout_pt.properties
core/src/main/resources/lib/layout/main-panel_pt.properties
core/src/main/resources/lib/layout/pane_de.properties
core/src/main/resources/lib/layout/pane_pt.properties
core/src/main/resources/lib/layout/pane_pt_BR.properties
core/src/main/resources/lib/layout/progressiveRendering_pt.properties
core/src/main/resources/lib/layout/task_pt.properties
pom.xml
test/pom.xml
test/src/test/resources/lib/layout/IconTest/03_testTask.jelly
war/src/main/webapp/scripts/msie.js
2015-02-05 16:27:47 -05:00
Jesse Glick
a001f71ded
Merge pull request #6 from jenkinsci-cert/SECURITY-125
...
[SECURITY-125] Matrix project script security
2015-02-05 15:44:47 -05:00
Ryan Campbell
29f59e42ae
[SECURITY-166] Make UI tests work across Jenkins versions
2015-02-05 13:45:33 -06:00