You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jspwiki.apache.org by "Juan Pablo Santos Rodríguez (Jira)" <ji...@apache.org> on 2021/10/08 09:36:00 UTC

[jira] [Updated] (JSPWIKI-1141) Insecure Direct Object Reference can abort any id workflow

     [ https://issues.apache.org/jira/browse/JSPWIKI-1141?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Juan Pablo Santos Rodríguez updated JSPWIKI-1141:
-------------------------------------------------
    Security:     (was: Security Vulnerability Disclosure)

Not a security issue, as working as expected, removing security level clearance and closing the issue.

> Insecure Direct Object Reference can abort any id workflow
> ----------------------------------------------------------
>
>                 Key: JSPWIKI-1141
>                 URL: https://issues.apache.org/jira/browse/JSPWIKI-1141
>             Project: JSPWiki
>          Issue Type: Bug
>          Components: Core &amp; storage
>    Affects Versions: 2.11.0-M8
>         Environment: Windows new version
> Firefox version 84.0.1
>            Reporter: Nguyen Dang Khai
>            Priority: Critical
>
> * Summary:
> The function does not check whether the id is owned by the current user or not lead to Vulnerable can abort any id workflow of other user.
>  * Analyzer:
> In *Workflow.jsp*, line 78 :
> {code:java}
> if( "abort".equals(request.getParameter("action")) )
> {code}
> After that :
> Line 83:
> {code:java}
> int id = Integer.parseInt( request.getParameter( "id" ) );
> {code}
> After found id match. In line 92 *kill workflow* without check session id of user.
> {code:java}
> w.abort( wikiContext );
> {code}
> > With action decide, in line 53, function use:
> {code:java}
> DecisionQueue dq = wiki.getManager( WorkflowManager.class ).getDecisionQueue();
> {code}
> can *protect idor* lead to decide id workflow.
>  * This is request vulnerable:
> {code:java}
> GET /Workflow.jsp?id=1&action=abort HTTP/1.1
> Host: jspwiki-wiki.apache.org
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)