Title: Java: Introduce Freemarker for SSTI queries by japroc · Pull Request #6320 · github/codeql · GitHub
Open Graph Title: Java: Introduce Freemarker for SSTI queries by japroc · Pull Request #6320 · github/codeql
X Title: Java: Introduce Freemarker for SSTI queries by japroc · Pull Request #6320 · github/codeql
Description: Hi team! I want to add support for Freemarker template engine. There is a Freemarker.qll library and 2 queries. Query 1 - FreemarkerTaintedTemplate.ql Search for cases when untrusted data is used as template. It may lead to remote code execution and information disclosure vulnerabilities. Query 2 - FreemarkerUnsafeConfiguration.ql Search for unsafe freemarker configurations. It is not critical by default. Although, when developers use builtin interpret filter on user-data, they will be executed as part of template. As i know it's impossible to analyze ftl files. As mitigation it's recommended to configure secure engine by 1) not enabling Builtin API, 2) setting class resolver to ALLOWS_NOTHING_RESOLVER. Thanks, Evgenii.
Open Graph Description: Hi team! I want to add support for Freemarker template engine. There is a Freemarker.qll library and 2 queries. Query 1 - FreemarkerTaintedTemplate.ql Search for cases when untrusted data is used a...
X Description: Hi team! I want to add support for Freemarker template engine. There is a Freemarker.qll library and 2 queries. Query 1 - FreemarkerTaintedTemplate.ql Search for cases when untrusted data is used a...
Opengraph URL: https://github.com/github/codeql/pull/6320
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:1fe26a22-8e5b-3084-36ad-75ba05189ff6 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 828E:2FE0E1:54926D:73AD11:6A4DCBBE |
| html-safe-nonce | 3a71a99cbe72d0736900becfbe7604eecbf91c4c5530ebd4312ae028563703fa |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MjhFOjJGRTBFMTo1NDkyNkQ6NzNBRDExOjZBNERDQkJFIiwidmlzaXRvcl9pZCI6IjQwNDAyNjQyMTM3MzM0MjgxNTgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 335c49cb9301b7c32482d5d46cc92281143ac1e7032a1c593c9d82616add19e7 |
| hovercard-subject-tag | pull_request:692130423 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/github/codeql/pull/6320/files |
| twitter:image | https://avatars.githubusercontent.com/u/15655261?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/15655261?s=400&v=4 |
| og:image:alt | Hi team! I want to add support for Freemarker template engine. There is a Freemarker.qll library and 2 queries. Query 1 - FreemarkerTaintedTemplate.ql Search for cases when untrusted data is used a... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 06b8a6144231bf3a234f1c2e9993861e07ce98a905912b114aa386c2d7e84b33 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/github/codeql git https://github.com/github/codeql.git |
| octolytics-dimension-user_id | 9919 |
| octolytics-dimension-user_login | github |
| octolytics-dimension-repository_id | 143040428 |
| octolytics-dimension-repository_nwo | github/codeql |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 143040428 |
| octolytics-dimension-repository_network_root_nwo | github/codeql |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 1d344bdb7547fe6bca17a59bb2b8aac3dc9532a0 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width