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

ファイルアップロード制御/ファイル実行制御で PHP ファイル以外も制限が必要か #5120

Closed
okazy opened this issue Aug 25, 2021 · 1 comment · Fixed by #5867
Assignees
Milestone

Comments

@okazy
Copy link
Contributor

okazy commented Aug 25, 2021

概要(Overview)

EC-CUBE 4.1 でファイルアップロード制御とファイル実行制御が追加されました。

PHPファイルのアップロードと実行は制限されていますが、レンサバなどではデフォルトで perl などが実行できる環境もありますので、制御するファイルの種類を拡張する必要があるかもしれません。

期待する内容(Expect) or 要望 (Requirement)

perl など、対応が必要な拡張子を精査した上で、アップロード/実行制限ができている。

再現手順(Procedure)

環境 (environment)

  • EC-CUBE: 4.1-beta3

関連情報 (Ref)

@okazy okazy added security security improvement 機能改善 labels Aug 25, 2021
@okazy okazy added this to the 4.1 milestone Aug 25, 2021
@chihiro-adachi chihiro-adachi modified the milestones: 4.1, 4.1.x Sep 3, 2021
@shinya
Copy link
Contributor

shinya commented Oct 25, 2022

現状のブラックリスト方式をホワイトリスト方式(決められた拡張子のみアップロード可能)という形に変える方向で検討したい。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants