kcve.ai취약점 정보 · 내 자산 확인

CVE-2022-24734 Remote code execution in mybb

mybb에서 원격 코드 실행

설명

MyBB는 무료 및 오픈 소스 포럼 소프트웨어입니다. 영향을 받는 버전에서는 관리자 CP의 설정 관리 모듈이 삽입 및 업데이트 시 설정 유형을 올바르게 검증하지 않으므로 PHP 코드로 지원되는 `php` 유형의 설정을 추가할 수 있으며 _Change Settings_ 페이지에서 실행됩니다. 이로 인해 RCE(Remote Code Execution) 취약점이 발생합니다. 취약한 모듈에는 `설정을 관리할 수 있습니까?` 권한을 가진 Admin CP 액세스가 필요합니다. 관리자가 기본값이 아닌 설정을 추가, 편집 및 삭제할 수 있는 MyBB의 설정 모듈에서는 설정 데이터를 옵션 코드 문자열($options_code; mybb_settings.optionscode 데이터베이스 열)에 저장하여 설정 유형과 옵션을 새 줄 문자(\n)로 구분합니다. MyBB 1.2.0에서, PHP의 설정에 대한 지원이 추가되었으며, 이에 대한 옵션 코드의 나머지 부분은 변경 설정 페이지에서 실행되는 PHP 코드입니다(플러그인 및 내부 사용 예약). 이 문제를 해결한 것은 MyBB 1.8.30입니다. 알려진 workaround가 없습니다.

원문 보기

MyBB is a free and open source forum software. In affected versions the Admin CP's Settings management module does not validate setting types correctly on insertion and update, making it possible to add settings of supported type `php` with PHP code, executed on on _Change Settings_ pages. This results in a Remote Code Execution (RCE) vulnerability. The vulnerable module requires Admin CP access with the `Can manage settings?` permission. MyBB's Settings module, which allows administrators to add, edit, and delete non-default settings, stores setting data in an options code string ($options_code; mybb_settings.optionscode database column) that identifies the setting type and its options, separated by a new line character (\n). In MyBB 1.2.0, support for setting type php was added, for which the remaining part of the options code is PHP code executed on Change Settings pages (reserved for plugins and internal use). MyBB 1.8.30 resolves this issue. There are no known workarounds.

영향 받는 제품 제품 1개

  • mybb

    mybb

    해결 버전 있음

    영향 받는 버전

    • 1.2.0 이상 1.8.30 미만

    해결 버전

    • 1.8.30 이상

참고 자료 6건

‹ 목록

점검 지원 범위 문의

도입 문의