Vulnerability Nessus 12085 - Apache Tomcat Default Files (with killbill/killbill:0.24.21)

未关闭
#663 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
50/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
活跃
技术栈
apache, docker

调研方向

Start by checking how the killbill/killbill:0.24.21 image assembles Apache Tomcat and where its Docker build files are maintained. Inspect the image for the listed webapps/docs, examples, manager, and host-manager directories and the default files mentioned in the Nessus report. Done means the image no longer exposes those default Tomcat files and the Nessus 12085 finding is resolved.

由索引模型根据 Issue 内容生成。

描述

A Nessus scan in our server, where we expose Apache Tomcat server, via the Docker Image killbill/killbill:0.24.21, flags this medium-severity vulnerability (12085: Apache Tomcat Default Files) — essentially that "The remote web server contains default files".

The solution would be to delete these four default Apache Tomcat directories:

RUN rm -rf \
/opt/apache-tomcat-9.0.121/webapps/docs \
/opt/apache-tomcat-9.0.121/webapps/examples \
/opt/apache-tomcat-9.0.121/webapps/manager \
/opt/apache-tomcat-9.0.121/webapps/host-manager

However, the issue is that we are using the official Kill Bill image and cannot modify it;
if we were to delete them from our container, the files would reappear upon the next image update or release;
furthermore, I would prefer not to create a new image that inherits from killbill/killbill.

The ideal solution would be for you to manually remove from the Apache Tomcat instance the specific files that the Nessus plugin looks for—namely, standard files or pages left behind by a default Tomcat installation, such as default pages, sample directories, or files like RELEASE-NOTES, docs/, examples/, etc.

Thanks in advance,
Daniel

主要语言
HTML
星标
70
派生
76
平均合并
1 天 23 小时
30 天内合并 PR
5

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

killbill/killbill-admin-ui 的其他 Issue

查看 killbill/killbill-admin-ui 的全部 Issue

相似的 Issue

更多 DevOps Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。