Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improved: [SECURITY] (CVE-2024-36104) Path traversal leading to RCE (OFBIZ-13092) #873

Open
wants to merge 1 commit into
base: release24.09
Choose a base branch
from

Conversation

nmalin
Copy link
Contributor

@nmalin nmalin commented Jan 22, 2025

Improved the denied token resolution through regexp pattern. We define each potential token
and we generate the following regexp for each


.(%.{2,5}|[^\\w])" + token + "[^\\w]."


We also improved the allowed token with analysed it form security.properties and web.xml
directly by plain text of with sha signature to manage each special case

…OFBIZ-13092)

Improved the denied token resolution through regexp pattern. We define each potential token
 and we generate the following regexp for each

****
  .*(%.{2,5}|[^\\w])" + token + "[^\\w].*"
****

We also improved the allowed token with analysed it form security.properties and web.xml
 directly by plain text of with sha signature to manage each special case
@JacquesLeRoux
Copy link
Contributor

This is for 24.09 branch only, where there is currently an issue: https://lists.apache.org/thread/8dwrx5wwkjpfm5h0xtkwtnc3rpkbyoov

@JacquesLeRoux
Copy link
Contributor

JacquesLeRoux commented Jan 25, 2025

I have created https://issues.apache.org/jira/browse/OFBIZ-13204 for that. It's now closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants