Bug 777754 (SOA-270) - JBPM upload servlet allows unauthorized process upload in production setup
Summary: JBPM upload servlet allows unauthorized process upload in production setup
Keywords:
Status: CLOSED NEXTRELEASE
Alias: SOA-270
Product: JBoss Enterprise SOA Platform 4
Classification: JBoss
Component: JBPM - within SOA, Security
Version: 4.2 Beta 1
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 4.2 CR3
Assignee: Mike Brock
QA Contact:
URL: http://jira.jboss.org/jira/browse/SOA...
Whiteboard:
Depends On:
Blocks: SOA-327 SOA-345 SOA-515 SOA-550
TreeView+ depends on / blocked
 
Reported: 2008-01-04 09:24 UTC by Marc Schoenefeld
Modified: 2013-06-17 05:11 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
10:15:48,280 INFO [Server] Starting JBoss (MX MicroKernel)... 10:15:48,280 INFO [Server] Release ID: JBoss [EAP] 4.3.0.GA (build: SVNTag=JBPAPP_4_3_0_GA date=200712141443) 10:15:48,282 INFO [Server] Home Dir: /NotBackedUp/software/soabeta1/jboss-soa-p.4.2.0/jboss-as 10:15:48,282 INFO [Server] Home URL: file:/NotBackedUp/software/soabeta1/jboss-soa-p.4.2.0/jboss-as/ 10:15:48,282 INFO [Server] Patch URL: null 10:15:48,282 INFO [Server] Server Name: production
Last Closed: 2008-02-04 16:31:06 UTC
Type: Bug


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 777750 0 urgent CLOSED JBPM events can execute arbitrary code 2021-02-22 00:41:40 UTC
Red Hat Bugzilla 779192 0 high CLOSED Can't deploy jBPM process from JBDS 2.1 or 3.0 with SOA-P 5.0 OOTB 'default' server configuration 2021-02-22 00:41:40 UTC
Red Hat Issue Tracker SOA-270 0 None None None Never

Internal Links: 777750 779192

Description Marc Schoenefeld 2008-01-04 09:24:11 UTC
Affects: Compatibility/Configuration
Complexity: Low
Date of First Response: 2008-01-08 01:49:25
Workaround: Workaround Exists
Workaround Description: Fix web.xml in production setup
project_key: SOA

http://127.0.0.1:8080/jbpm-console/upload/ is not protected by authentication constraints.

It can be reached without authorization in production setup. This can be misused by
attackers to inject (replace?) process definitions (that may contain code, as in
http://jira.jboss.com/jira/browse/SOA-265 ).

Comment 1 Mark Little 2008-01-07 21:59:23 UTC
Link: Added: This issue is incorporated by SOA-262


Comment 2 Len DiMaggio 2008-01-08 02:36:28 UTC
Link: Added: This issue related SOA-265


Comment 3 Tom Baeyens 2008-01-08 06:49:25 UTC
what am i supposed to do about this ?

this is intended behaviour in the jbpm project download.

Comment 4 Tom Baeyens 2008-01-08 13:19:22 UTC
as said before, this should be addressed in the web.xml

Comment 5 Mike Brock 2008-01-10 03:23:22 UTC
fixed in trunk.

Comment 6 Len DiMaggio 2008-01-21 17:51:58 UTC
Modified fixed in field to match soa-262,soa-265

Comment 9 Len DiMaggio 2008-01-23 21:37:10 UTC
Link: Added: This issue is a dependency of SOA-345


Comment 10 Len DiMaggio 2008-02-04 16:18:20 UTC
Link: Added: This issue is a dependency of SOA-327


Comment 11 Len DiMaggio 2008-02-04 16:31:06 UTC
Closing this JIRA - resolution is as described in:
    http://jira.jboss.com/jira/browse/SOA-327#action_12397644

Summary:
   For standalone server, default configuration exposes /upload servlet
   For embedded server, all configuration exposes /upload servlet
   For embedded server, production configuration does not expose /up;load servlet

jBPM User guide inlcudes instructions to expose or not expose /upload servlet

Standalone and embedded server .zip files both inlcude /tools/resources dir with these files:

-rw-r--r-- 1 ldimaggi ldimaggi 723723 Feb 3 16:25 jbpm-console-development.war
-rw-r--r-- 1 ldimaggi ldimaggi 723724 Feb 3 16:25 jbpm-console-production.war

This solution closes SOA-262, SOA-265, SOA-270


Comment 12 Len DiMaggio 2008-04-15 17:52:48 UTC
Link: Added: This issue is a dependency of SOA-515


Comment 13 Len DiMaggio 2008-06-16 13:42:33 UTC
Link: Added: This issue is a dependency of SOA-550


Comment 14 Len DiMaggio 2009-11-10 17:40:39 UTC
Link: Added: This issue related SOA-1586



Note You need to log in before you can comment on or make changes to this bug.