[ 
https://issues.apache.org/jira/browse/OFBIZ-12925?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17929612#comment-17929612
 ] 

ASF subversion and git services commented on OFBIZ-12925:
---------------------------------------------------------

Commit c2d3b85105e60a0a61ac9a3039ca7b8456310c1b in ofbiz-framework's branch 
refs/heads/release24.09 from Jacques Le Roux
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=c2d3b85105 ]

Fixed: [codeQL]  Resolving specific Java issues (OFBIZ-12925)

This concerns a possible server-side request forgery reported by CodeQL
<<To fix the SSRF vulnerability, we need to ensure that the URL being used in
the readXmlDocument method is validated and restricted to a set of allowed URLs
or domains. This can be achieved by maintaining a whitelist of allowed URLs or
domains and checking the user-provided URL against this list before proceeding
with the request.>>

Fortunately we already have and can use the host-headers-allowed property in
security.properties. Here is the fix.


> [codeQL]  Resolving specific Java issues
> ----------------------------------------
>
>                 Key: OFBIZ-12925
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-12925
>             Project: OFBiz
>          Issue Type: Sub-task
>          Components: accounting, framework/base
>    Affects Versions: Upcoming Branch
>            Reporter: Jacques Le Roux
>            Assignee: Jacques Le Roux
>            Priority: Major
>             Fix For: Upcoming Branch
>
>
> codeQL reports 3 such issues:



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to