René's URL Explorer Experiment


Title: [Java]: CWE-073 - File path injection with the JFinal framework · Issue #527 · github/securitylab · GitHub

Open Graph Title: [Java]: CWE-073 - File path injection with the JFinal framework · Issue #527 · github/securitylab

X Title: [Java]: CWE-073 - File path injection with the JFinal framework · Issue #527 · github/securitylab

Description: Query PR github/codeql#7712 Language Java CVE(s) ID list CVE-2021-44093 A Remote Command Execution vulnerability on the background in zrlog 2.2.2, at the upload avatar function, could bypass the original limit, upload the JSP file to get...

Open Graph Description: Query PR github/codeql#7712 Language Java CVE(s) ID list CVE-2021-44093 A Remote Command Execution vulnerability on the background in zrlog 2.2.2, at the upload avatar function, could bypass the or...

X Description: Query PR github/codeql#7712 Language Java CVE(s) ID list CVE-2021-44093 A Remote Command Execution vulnerability on the background in zrlog 2.2.2, at the upload avatar function, could bypass the or...

Opengraph URL: https://github.com/github/securitylab/issues/527

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[Java]: CWE-073 - File path injection with the JFinal framework","articleBody":"### Query PR\n\nhttps://github.com/github/codeql/pull/7712\n\n### Language\n\nJava\n\n### CVE(s) ID list\n\n[CVE-2021-44093](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-44093)\r\n+ A Remote Command Execution vulnerability on the background in zrlog 2.2.2, at the upload avatar function, could bypass the original limit, upload the JSP file to get a WebShell\r\n\r\n[CVE-2021-40639](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-40639)\r\n+ Improper access control in Jfinal CMS 5.1.0 allows attackers to access sensitive information via /classes/conf/db.properties\u0026config=filemanager.config.js\n\n### CWE\n\nCWE-073: External Control of File Name or Path\n\n### Report\n\nExternal Control of File Name or Path, also called File Path Injection, is a common attack and injection attack is listed as one of the top attacks in OWASP Top Ten 2021.\r\n\r\nLoading files based on unvalidated user-input may cause file information disclosure and uploading files with unvalidated file types to an arbitrary directory may lead to Remote Command Execution (RCE).\r\n\r\n\u003ccode\u003e[JFinal](https://github.com/jfinal/jfinal)\u003c/code\u003e is a widely used Web + ORM framework, which has 1.4K forks and 3.2k stars on GitHub. More introduction can be found at \u003ccode\u003e[JFinal Tutorial](https://github.com/jfinal/jfinal-manual)\u003c/code\u003e. Multiple CWEs have been submitted for File Path Injection attack associated with this framework.\r\n\r\nThis query detects unsafe file loading/downloading operations in code repositories that consume this framework. It models \u003ccode\u003eJFinal\u003c/code\u003e input methods as remote flow source using the source model CSV format. It creates a separate \u003ccode\u003ePathSanitizer\u003c/code\u003e library so that the library can be promoted as a shared lib that can be used by other queries as well. It reduces FPs by pruning the sink and testing with both real projects on GitHub and test cases customized for this query. \r\n\n\n### Are you planning to discuss this vulnerability submission publicly? (Blog Post, social networks, etc).\n\n- [X] Yes\n- [ ] No\n\n### Blog post link\n\n_No response_","author":{"url":"https://github.com/luchua-bc","@type":"Person","name":"luchua-bc"},"datePublished":"2022-01-23T18:47:04.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":10},"url":"https://github.com/527/securitylab/issues/527"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:e9dfe46e-696d-011c-3240-87e9663162d3
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idD68E:4908F:26FFE2:349C2D:6A4D1E8A
html-safe-nonce225c627d3eeedee60fc02471e1e209f5878e92e7a8bf1c06e7d231e70095c4dc
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENjhFOjQ5MDhGOjI2RkZFMjozNDlDMkQ6NkE0RDFFOEEiLCJ2aXNpdG9yX2lkIjoiMjY3MzMzMTk1MzQyMDAxNzI5MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac32be39e5749ef18022a03c90e0ce804696b337f612a15aae5530e9ee12d08216
hovercard-subject-tagissue:1111953427
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/github/securitylab/527/issue_layout
twitter:imagehttps://opengraph.githubassets.com/9df76597dea020c6067b962b36366ff8a07bae115ff8061e95d652f6b528d259/github/securitylab/issues/527
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/9df76597dea020c6067b962b36366ff8a07bae115ff8061e95d652f6b528d259/github/securitylab/issues/527
og:image:altQuery PR github/codeql#7712 Language Java CVE(s) ID list CVE-2021-44093 A Remote Command Execution vulnerability on the background in zrlog 2.2.2, at the upload avatar function, could bypass the or...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameluchua-bc
hostnamegithub.com
expected-hostnamegithub.com
None92571a8944142227b7e19cd10918b1ddd06e5066c1ad5bc7e4769cf6140a87e6
turbo-cache-controlno-preview
go-importgithub.com/github/securitylab git https://github.com/github/securitylab.git
octolytics-dimension-user_id9919
octolytics-dimension-user_logingithub
octolytics-dimension-repository_id221101274
octolytics-dimension-repository_nwogithub/securitylab
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id221101274
octolytics-dimension-repository_network_root_nwogithub/securitylab
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release93f17a978ee60bc4668e1d7b90e6bd2d622261fd
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/github/securitylab/issues/527#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgithub%2Fsecuritylab%2Fissues%2F527
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgithub%2Fsecuritylab%2Fissues%2F527
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=github%2Fsecuritylab
Reloadhttps://github.com/github/securitylab/issues/527
Reloadhttps://github.com/github/securitylab/issues/527
Reloadhttps://github.com/github/securitylab/issues/527
Please reload this pagehttps://github.com/github/securitylab/issues/527
github https://github.com/github
securitylabhttps://github.com/github/securitylab
Notifications https://github.com/login?return_to=%2Fgithub%2Fsecuritylab
Fork 288 https://github.com/login?return_to=%2Fgithub%2Fsecuritylab
Star 1.6k https://github.com/login?return_to=%2Fgithub%2Fsecuritylab
Code https://github.com/github/securitylab
Issues 1 https://github.com/github/securitylab/issues
Pull requests 0 https://github.com/github/securitylab/pulls
Discussions https://github.com/github/securitylab/discussions
Actions https://github.com/github/securitylab/actions
Projects https://github.com/github/securitylab/projects
Models https://github.com/github/securitylab/models
Security and quality 0 https://github.com/github/securitylab/security
Insights https://github.com/github/securitylab/pulse
Code https://github.com/github/securitylab
Issues https://github.com/github/securitylab/issues
Pull requests https://github.com/github/securitylab/pulls
Discussions https://github.com/github/securitylab/discussions
Actions https://github.com/github/securitylab/actions
Projects https://github.com/github/securitylab/projects
Models https://github.com/github/securitylab/models
Security and quality https://github.com/github/securitylab/security
Insights https://github.com/github/securitylab/pulse
[Java]: CWE-073 - File path injection with the JFinal frameworkhttps://github.com/github/securitylab/issues/527#top
All For OneSubmissions to the All for One, One for All bountyhttps://github.com/github/securitylab/issues?q=state%3Aopen%20label%3A%22All%20For%20One%22
https://github.com/luchua-bc
luchua-bchttps://github.com/luchua-bc
on Jan 23, 2022https://github.com/github/securitylab/issues/527#issue-1111953427
github/codeql#7712https://github.com/github/codeql/pull/7712
CVE-2021-44093https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-44093
CVE-2021-40639https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-40639
JFinalhttps://github.com/jfinal/jfinal
JFinal Tutorialhttps://github.com/jfinal/jfinal-manual
All For OneSubmissions to the All for One, One for All bountyhttps://github.com/github/securitylab/issues?q=state%3Aopen%20label%3A%22All%20For%20One%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.