VDB
EN
MEDIUM 5.3

GHSA-qhr7-v3xp-vw9m

Statamic: Missing file upload validation on frontend forms allows uploading disallowed file types

빠른 조치

GHSA-qhr7-v3xp-vw9m — statamic/cms: 아래 명령으로 수정 버전으로 올리세요.

composer require statamic/cms:^5.74.3

상세

### Impact Public frontend forms did not enforce the file upload restrictions that the Control Panel enforces, so an unauthenticated visitor could upload file types an administrator had intended to disallow through a form's `assets` or `files` field. For `assets` fields, files could be stored on a public, web-accessible disk. Statamic's global upload allowlist still applied, so executable types such as `.php` and `.html` remained blocked.

### Patches This has been fixed in 5.74.3 and 6.24.2.

이 버전이 영향받나요?

사용 중인 패키지 버전을 입력하면 즉시 평가합니다.

영향 패키지

Packagist / statamic/cms
최초 영향 버전: 0 수정 버전: 5.74.3
수정 composer require statamic/cms:^5.74.3
Packagist / statamic/cms
최초 영향 버전: 6.0.0 수정 버전: 6.24.2
수정 composer require statamic/cms:^6.24.2

참고