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

PRP: Request Web Application Fingerprint - Elasticsearch & Kibana #134

Open
C4o opened this issue Oct 6, 2021 · 11 comments · May be fixed by #389
Open

PRP: Request Web Application Fingerprint - Elasticsearch & Kibana #134

C4o opened this issue Oct 6, 2021 · 11 comments · May be fixed by #389
Assignees
Labels
Contributor main The main issue a contributor is working on (top of the contribution queue). fingerprints PRP:Accepted

Comments

@C4o
Copy link
Contributor

C4o commented Oct 6, 2021

Hi there,

I would like to start the implementation for a web application fingerprint that detects the following software - Elasticsearch and Kibana

Docker hub image:
https://hub.docker.com/_/elasticsearch
https://hub.docker.com/_/kibana

Please let me know if this is in scope.

@maoning
Copy link
Collaborator

maoning commented Mar 24, 2022

Hi @C4o ,

Thanks for your request! This vulnerability is in scope for the reward program. Please submit our participation form and you can start working on the development.

Please keep in mind that the Tsunami Scanner Team will only be able to work at one issue at a time for each participant so please hold on the implementation work for any other requests you might have.

Thanks!

@C4o
Copy link
Contributor Author

C4o commented Mar 27, 2022

Hi @maoning,
I wonder that if I provide its fingerprint, do I need to provide the fingerprint of the full version and subsequent new versions?
And BTW, could I request a PR of these issues?
#205
#223
#224

@maoning
Copy link
Collaborator

maoning commented Mar 29, 2022

Hi @C4o , please provide finger prints for at least the versions from the last 3-5 years, and also include an automation script that will update the prebuilt fingerprint database when there is a new release of the web application (this will cover subsequent new versions). I realized that we currently don't have an automation script as an example, I will see if I can add one asap.

It is hard to gauge the relevancy of pending detector requests without the fingerprinters to identify how often tsunami scanner encounters these software in the wild. I have already approved a confluence fingerprinting request #64, once it is rolled out, it will help to measure how relevant #223 is.

@C4o
Copy link
Contributor Author

C4o commented Mar 30, 2022

Hi @maoning ,

I think it may be difficult to automatically update the fingerprint of the new version, cause it's hard to know what code is added in the new version and what features are caused by an automation script:(

Are there any feasible methods for reference? I'll try it.

@maoning
Copy link
Collaborator

maoning commented Apr 11, 2022

Hi @C4o , https://github.com/google/tsunami-security-scanner-plugins/blob/44945935781404f2de649bf6f88dd3d60acdae6b/google/fingerprinters/web/scripts/updater/wordpress/update.sh is the automation script @magl0 submitted. It automatically spins up a version of the wordpress and update the fingerprint file with a new fingerprint (full commit: 4494593). You can put your update script at the same location under elasticsearch & kibana folder.

@C4o
Copy link
Contributor Author

C4o commented Apr 11, 2022

Copy that. Thanks. @maoning

@tooryx tooryx added Contributor queue When a contributor has already one issue/PR in review, we put the following ones on hold with this. fingerprints labels Feb 1, 2024
@tooryx
Copy link
Member

tooryx commented Feb 2, 2024

Also @C4o, I see that this request has been opened for quite some time. Are you still willing to contribute to this plugin or should I just close it out?

@C4o
Copy link
Contributor Author

C4o commented Feb 3, 2024

@tooryx Yes, I'll try to contribute to this plugin recently.

@C4o
Copy link
Contributor Author

C4o commented Feb 6, 2024

Hi @tooryx.

It seems that the latest version of elasticsearch cannot be fingerprinted by this way cause all static files cannot be requested directly. But the fingerprinter plugin for kibana seems okay.

......
INFO: No new fingerprints found.

Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.5/userguide/command_line_interface.html#sec:command_line_warnings

BUILD SUCCESSFUL in 18s
6 actionable tasks: 1 executed, 5 up-to-date
fingerprint updating failed

And BTW, I tested other fingerprinter plugins, including wordpress/drupal/zabbix, I found errors occurred with no correct version when there are empty lines in versions.txt, and It worked after I delete the last line.

......
Fingerprint updated successfully
drupal_7.74
Fingerprinting Drupal version  ...
docker: invalid reference format.
See 'docker run --help'.

@tooryx
Copy link
Member

tooryx commented Feb 7, 2024

Could you at least proceed with submitting the Kibana ones for now? We can look again in Kibana when I have more time.

~tooryx

@C4o
Copy link
Contributor Author

C4o commented Feb 8, 2024

@tooryx, yes of course, I'm working on fingerprinter with kibana in the past few days.

@C4o C4o linked a pull request Feb 9, 2024 that will close this issue
@tooryx tooryx linked a pull request Feb 13, 2024 that will close this issue
@tooryx tooryx added Contributor main The main issue a contributor is working on (top of the contribution queue). and removed Contributor queue When a contributor has already one issue/PR in review, we put the following ones on hold with this. labels Feb 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Contributor main The main issue a contributor is working on (top of the contribution queue). fingerprints PRP:Accepted
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants