René's URL Explorer Experiment


Title: Java: CWE-016 Query to detect insecure configuration of Spring Boot Actuator by luchua-bc · Pull Request #5384 · github/codeql · GitHub

Open Graph Title: Java: CWE-016 Query to detect insecure configuration of Spring Boot Actuator by luchua-bc · Pull Request #5384 · github/codeql

X Title: Java: CWE-016 Query to detect insecure configuration of Spring Boot Actuator by luchua-bc · Pull Request #5384 · github/codeql

Description: Spring Boot is a popular framework that facilitates the development of stand-alone applications and micro services. Spring Boot Actuator helps to expose production-ready support features against Spring Boot applications. Endpoints of Spring Boot Actuator allow to monitor and interact with a Spring Boot application. Exposing unprotected actuator endpoints through configuration files can lead to information disclosure or even remote code execution vulnerability. Rather than programmatically permitting endpoint requests or enforcing access control, frequently developers simply leave management endpoints publicly accessible in the application configuration file application.properties without enforcing any access control through Spring Security. This is a very common issue and is also one of the highest rewarded vulnerabilities on the HackerOne platform. The query detects this issue in Spring Boot projects with Maven and application.properties, which is the most widely adopted deployment scenario. Please consider to merge the PR. Thanks.

Open Graph Description: Spring Boot is a popular framework that facilitates the development of stand-alone applications and micro services. Spring Boot Actuator helps to expose production-ready support features against Sp...

X Description: Spring Boot is a popular framework that facilitates the development of stand-alone applications and micro services. Spring Boot Actuator helps to expose production-ready support features against Sp...

Opengraph URL: https://github.com/github/codeql/pull/5384

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:f3645708-afb6-510c-9ee0-4ca7d7f948cc
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE748:227D33:135FD95:1AF6D6F:6A4CACDC
html-safe-nonce710d1fb22ed6ee58b6a0df569259f880a22d0ba51be80226f4f46c4e8da28631
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNzQ4OjIyN0QzMzoxMzVGRDk1OjFBRjZENkY6NkE0Q0FDREMiLCJ2aXNpdG9yX2lkIjoiNjEzNjA2NTkzMTg1MDA2NzE2NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmaca6d020c7e5e9ac8d3f0ee6a297b596eec52793a590885f7f07858d72d282a555
hovercard-subject-tagpull_request:590882846
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/github/codeql/pull/5384/files
twitter:imagehttps://avatars.githubusercontent.com/u/37377780?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/37377780?s=400&v=4
og:image:altSpring Boot is a popular framework that facilitates the development of stand-alone applications and micro services. Spring Boot Actuator helps to expose production-ready support features against Sp...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None3d11bb817438277de2a940854450e83a7d32b6aeb5014e9e6b00a6423900251c
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/github/codeql git https://github.com/github/codeql.git
octolytics-dimension-user_id9919
octolytics-dimension-user_logingithub
octolytics-dimension-repository_id143040428
octolytics-dimension-repository_nwogithub/codeql
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id143040428
octolytics-dimension-repository_network_root_nwogithub/codeql
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releaseae90d426644ca15e89bacceb72e51f4e9dbf85f7
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/github/codeql/pull/5384/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgithub%2Fcodeql%2Fpull%2F5384%2Ffiles
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%2Fcodeql%2Fpull%2F5384%2Ffiles
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%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=github%2Fcodeql
Reloadhttps://github.com/github/codeql/pull/5384/files
Reloadhttps://github.com/github/codeql/pull/5384/files
Reloadhttps://github.com/github/codeql/pull/5384/files
Please reload this pagehttps://github.com/github/codeql/pull/5384/files
github https://github.com/github
codeqlhttps://github.com/github/codeql
Notifications https://github.com/login?return_to=%2Fgithub%2Fcodeql
Fork 2k https://github.com/login?return_to=%2Fgithub%2Fcodeql
Star 9.8k https://github.com/login?return_to=%2Fgithub%2Fcodeql
Code https://github.com/github/codeql
Issues 987 https://github.com/github/codeql/issues
Pull requests 424 https://github.com/github/codeql/pulls
Discussions https://github.com/github/codeql/discussions
Actions https://github.com/github/codeql/actions
Projects https://github.com/github/codeql/projects
Models https://github.com/github/codeql/models
Security and quality 0 https://github.com/github/codeql/security
Insights https://github.com/github/codeql/pulse
Code https://github.com/github/codeql
Issues https://github.com/github/codeql/issues
Pull requests https://github.com/github/codeql/pulls
Discussions https://github.com/github/codeql/discussions
Actions https://github.com/github/codeql/actions
Projects https://github.com/github/codeql/projects
Models https://github.com/github/codeql/models
Security and quality https://github.com/github/codeql/security
Insights https://github.com/github/codeql/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fgithub%2Fcodeql%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fgithub%2Fcodeql%2Fissues%2Fnew%2Fchoose
smowtonhttps://github.com/smowton
github:mainhttps://github.com/github/codeql/tree/main
luchua-bc:java/insecure-spring-actuator-confighttps://github.com/luchua-bc/ql/tree/java/insecure-spring-actuator-config
Conversation 36 https://github.com/github/codeql/pull/5384
Findings https://github.com/github/codeql/pull/5384/findings
Commits 5 https://github.com/github/codeql/pull/5384/commits
Checks 0 https://github.com/github/codeql/pull/5384/checks
Files changed https://github.com/github/codeql/pull/5384/files
Please reload this pagehttps://github.com/github/codeql/pull/5384/files
Java: CWE-016 Query to detect insecure configuration of Spring Boot Actuator https://github.com/github/codeql/pull/5384/files#top
Show all changes 5 commits https://github.com/github/codeql/pull/5384/files
eeac7e3 Query to detect insecure configuration of Spring Boot Actuator luchua-bc Mar 11, 2021 https://github.com/github/codeql/pull/5384/commits/eeac7e322ad0d450f8dac1f0dad9195e4d3b8c33
c8b1bc3 Enhance the query luchua-bc Mar 11, 2021 https://github.com/github/codeql/pull/5384/commits/c8b1bc3a89b6f0c6b006449f38f4966899f0bc3d
1a2e341 Refactor the business logic of the query into a separate predicate luchua-bc Mar 12, 2021 https://github.com/github/codeql/pull/5384/commits/1a2e341b7c767fc4b6e21e9dc38d25110aa8b50e
a72b134 Add a comment on how to run the query luchua-bc Mar 26, 2021 https://github.com/github/codeql/pull/5384/commits/a72b1340eb6bb3bdbea9cabd6bdd942a9365b848
bb23866 Add missing doc comments smowton Apr 12, 2021 https://github.com/github/codeql/pull/5384/commits/bb23866cec93bda0bf1e132facd78344fb7a7fe4
Clear filters https://github.com/github/codeql/pull/5384/files
Please reload this pagehttps://github.com/github/codeql/pull/5384/files
Please reload this pagehttps://github.com/github/codeql/pull/5384/files
InsecureSpringActuatorConfig.qhelp https://github.com/github/codeql/pull/5384/files#diff-e6b763d97ecaafc2af4a9c534442dfda51166d4141c1b6011277b085eb0c1ac4
InsecureSpringActuatorConfig.ql https://github.com/github/codeql/pull/5384/files#diff-72d70392cb602efd44f89942eff3b760069bddafac49f17da48c18683bd00543
application.properties https://github.com/github/codeql/pull/5384/files#diff-bb3cdc27af5bae0cb3b9b6da1dbddccff02b9a7c2a442ecb7cb421282e54c151
pom_bad.xml https://github.com/github/codeql/pull/5384/files#diff-76d44451ae4c82dc132a5ec9114ff420118c53fc679f56275f8eb6eb8bf080fe
pom_good.xml https://github.com/github/codeql/pull/5384/files#diff-c39cff8cf5b39d32ed089194e4c2cb01a480d200d6fe330eeaa6368ea12f4707
InsecureSpringActuatorConfig.expected https://github.com/github/codeql/pull/5384/files#diff-929faa71811ddb144d471d26ad83b38cd187b8eaa19d31b28e1b756af94aae40
InsecureSpringActuatorConfig.qlref https://github.com/github/codeql/pull/5384/files#diff-6c4361760934b09f6e718b24f8a6a2047a23e04179f95bee091e895a5fcd8278
SensitiveInfo.java https://github.com/github/codeql/pull/5384/files#diff-466f4ca1f6325ebb33daf9f4b95187419c4194361f837deb230d94ef7005b900
application.properties https://github.com/github/codeql/pull/5384/files#diff-3268a0f40170c4c026522486c83acef4e16840956b76cb2c4a689c1acbaee371
pom.xml https://github.com/github/codeql/pull/5384/files#diff-fe7c4394c1383929659bd5ff4dab9f6141d5367b72b4340305c72433976389da
https://github.com/github/codeql/blob/main/CODEOWNERS#L16
java/ql/src/experimental/Security/CWE/CWE-016/InsecureSpringActuatorConfig.qhelphttps://github.com/github/codeql/pull/5384/files#diff-e6b763d97ecaafc2af4a9c534442dfda51166d4141c1b6011277b085eb0c1ac4
View file https://github.com/luchua-bc/ql/blob/bb23866cec93bda0bf1e132facd78344fb7a7fe4/java/ql/src/experimental/Security/CWE/CWE-016/InsecureSpringActuatorConfig.qhelp
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/github/codeql/pull/5384/{{ revealButtonHref }}
https://github.com/github/codeql/blob/main/CODEOWNERS#L16
java/ql/src/experimental/Security/CWE/CWE-016/InsecureSpringActuatorConfig.qlhttps://github.com/github/codeql/pull/5384/files#diff-72d70392cb602efd44f89942eff3b760069bddafac49f17da48c18683bd00543
View file https://github.com/luchua-bc/ql/blob/bb23866cec93bda0bf1e132facd78344fb7a7fe4/java/ql/src/experimental/Security/CWE/CWE-016/InsecureSpringActuatorConfig.ql
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/github/codeql/pull/5384/{{ revealButtonHref }}
Please reload this pagehttps://github.com/github/codeql/pull/5384/files
Please reload this pagehttps://github.com/github/codeql/pull/5384/files
Please reload this pagehttps://github.com/github/codeql/pull/5384/files
Please reload this pagehttps://github.com/github/codeql/pull/5384/files
Please reload this pagehttps://github.com/github/codeql/pull/5384/files
Please reload this pagehttps://github.com/github/codeql/pull/5384/files
https://github.com/github/codeql/blob/main/CODEOWNERS#L16
java/ql/src/experimental/Security/CWE/CWE-016/application.propertieshttps://github.com/github/codeql/pull/5384/files#diff-bb3cdc27af5bae0cb3b9b6da1dbddccff02b9a7c2a442ecb7cb421282e54c151
View file https://github.com/luchua-bc/ql/blob/bb23866cec93bda0bf1e132facd78344fb7a7fe4/java/ql/src/experimental/Security/CWE/CWE-016/application.properties
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/github/codeql/pull/5384/{{ revealButtonHref }}
https://github.com/github/codeql/blob/main/CODEOWNERS#L16
java/ql/src/experimental/Security/CWE/CWE-016/pom_bad.xmlhttps://github.com/github/codeql/pull/5384/files#diff-76d44451ae4c82dc132a5ec9114ff420118c53fc679f56275f8eb6eb8bf080fe
View file https://github.com/luchua-bc/ql/blob/bb23866cec93bda0bf1e132facd78344fb7a7fe4/java/ql/src/experimental/Security/CWE/CWE-016/pom_bad.xml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/github/codeql/pull/5384/{{ revealButtonHref }}
https://github.com/github/codeql/blob/main/CODEOWNERS#L16
java/ql/src/experimental/Security/CWE/CWE-016/pom_good.xmlhttps://github.com/github/codeql/pull/5384/files#diff-c39cff8cf5b39d32ed089194e4c2cb01a480d200d6fe330eeaa6368ea12f4707
View file https://github.com/luchua-bc/ql/blob/bb23866cec93bda0bf1e132facd78344fb7a7fe4/java/ql/src/experimental/Security/CWE/CWE-016/pom_good.xml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/github/codeql/pull/5384/{{ revealButtonHref }}
https://github.com/github/codeql/blob/main/CODEOWNERS#L16
java/ql/test/experimental/query-tests/security/CWE-016/InsecureSpringActuatorConfig.expectedhttps://github.com/github/codeql/pull/5384/files#diff-929faa71811ddb144d471d26ad83b38cd187b8eaa19d31b28e1b756af94aae40
View file https://github.com/luchua-bc/ql/blob/bb23866cec93bda0bf1e132facd78344fb7a7fe4/java/ql/test/experimental/query-tests/security/CWE-016/InsecureSpringActuatorConfig.expected
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/github/codeql/pull/5384/{{ revealButtonHref }}
https://github.com/github/codeql/blob/main/CODEOWNERS#L16
java/ql/test/experimental/query-tests/security/CWE-016/InsecureSpringActuatorConfig.qlrefhttps://github.com/github/codeql/pull/5384/files#diff-6c4361760934b09f6e718b24f8a6a2047a23e04179f95bee091e895a5fcd8278
View file https://github.com/luchua-bc/ql/blob/bb23866cec93bda0bf1e132facd78344fb7a7fe4/java/ql/test/experimental/query-tests/security/CWE-016/InsecureSpringActuatorConfig.qlref
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/github/codeql/pull/5384/{{ revealButtonHref }}
https://github.com/github/codeql/blob/main/CODEOWNERS#L16
java/ql/test/experimental/query-tests/security/CWE-016/SensitiveInfo.javahttps://github.com/github/codeql/pull/5384/files#diff-466f4ca1f6325ebb33daf9f4b95187419c4194361f837deb230d94ef7005b900
View file https://github.com/luchua-bc/ql/blob/bb23866cec93bda0bf1e132facd78344fb7a7fe4/java/ql/test/experimental/query-tests/security/CWE-016/SensitiveInfo.java
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/github/codeql/pull/5384/{{ revealButtonHref }}
https://github.com/github/codeql/blob/main/CODEOWNERS#L16
java/ql/test/experimental/query-tests/security/CWE-016/application.propertieshttps://github.com/github/codeql/pull/5384/files#diff-3268a0f40170c4c026522486c83acef4e16840956b76cb2c4a689c1acbaee371
View file https://github.com/luchua-bc/ql/blob/bb23866cec93bda0bf1e132facd78344fb7a7fe4/java/ql/test/experimental/query-tests/security/CWE-016/application.properties
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/github/codeql/pull/5384/{{ revealButtonHref }}
https://github.com/github/codeql/blob/main/CODEOWNERS#L16
java/ql/test/experimental/query-tests/security/CWE-016/pom.xmlhttps://github.com/github/codeql/pull/5384/files#diff-fe7c4394c1383929659bd5ff4dab9f6141d5367b72b4340305c72433976389da
View file https://github.com/luchua-bc/ql/blob/bb23866cec93bda0bf1e132facd78344fb7a7fe4/java/ql/test/experimental/query-tests/security/CWE-016/pom.xml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/github/codeql/pull/5384/{{ revealButtonHref }}
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.