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

CVE-2019-11231 An issue was discovered in GetSimple CMS through 3.3.15. insufficient input sanitation in the theme…

설명

3.3.15. 테마 edit.php 파일의 입력 위생이 충분하지 않아 임의의 콘텐츠 (PHP 코드 등)가있는 파일을 업로드 할 수 있습니다. 이 취약점은 인증된 사용자가 트리거하지만 인증은 우회할 수 있습니다. 설치 10단계에 대한 공식 문서에 따르면 관리자는 .htaccess 파일을 포함한 모든 파일을 업로드하고 건강 검사를 실행해야 합니다. 그러나 아파치 웹서버가 기본적으로 더 이상 AllowOverride 지시어를 사용하지 않아 data/users/admin.xml 비밀번호가 노출된다. 암호는 해시되지만 data/other/authorization.xml API 키로 시작하여 무시할 수 있습니다. 이것은 세션 상태를 대상으로 할 수 있게 하는데, 이는 그들이 그들 자신의 구현을 롤하기로 결정했기 때문이다. cookie_name은 프론트엔드(사이트 이름 및 버전)에서 유출될 수 있는 정보를 제작합니다. 누군가 API 키와 관리자 사용자 이름을 유출하면 인증을 우회할 수 있습니다. 이를 위해서는 알려진 정보에 대한 SHA-1 계산을 기반으로 쿠키를 제공해야합니다. 이 취약점은 admin/theme-edit.php 파일에 존재합니다. 이 파일은 POST 요청을 통해 양식 제출을 확인하고 csrf nonce를 확인합니다. 전송된 nonce가 올바른 경우 사용자가 제공한 파일이 업로드됩니다. 감옥 테마 디렉토리 루트 외부에 쓰기 권한을 허용하는 경로 순회가 있습니다. .htaccess 파일이 무시되기 때문에 트래버설을 악용할 필요는 없습니다. 기여 요인은 매개 변수 내용이 안전하다는 가정하에 파일을 저장하기 전에 확장명을 다시 확인할 수 없다는 것입니다. 이것은 임의의 내용으로 웹에 접근하고 실행 파일을 만들 수 있게 한다.

원문 보기

An issue was discovered in GetSimple CMS through 3.3.15. insufficient input sanitation in the theme-edit.php file allows upload of files with arbitrary content (PHP code, for example). This vulnerability is triggered by an authenticated user; however, authentication can be bypassed. According to the official documentation for installation step 10, an admin is required to upload all the files, including the .htaccess files, and run a health check. However, what is overlooked is that the Apache HTTP Server by default no longer enables the AllowOverride directive, leading to data/users/admin.xml password exposure. The passwords are hashed but this can be bypassed by starting with the data/other/authorization.xml API key. This allows one to target the session state, since they decided to roll their own implementation. The cookie_name is crafted information that can be leaked from the frontend (site name and version). If a someone leaks the API key and the admin username, then they can bypass authentication. To do so, they need to supply a cookie based on an SHA-1 computation of this known information. The vulnerability exists in the admin/theme-edit.php file. This file checks for forms submissions via POST requests, and for the csrf nonce. If the nonce sent is correct, then the file provided by the user is uploaded. There is a path traversal allowing write access outside the jailed themes directory root. Exploiting the traversal is not necessary because the .htaccess file is ignored. A contributing factor is that there isn't another check on the extension before saving the file, with the assumption that the parameter content is safe. This allows the creation of web accessible and executable files with arbitrary content.

영향 받는 제품 제품 1개

  • get-simple

    getsimple cms

    NVD 기준

    영향 받는 버전

    • 3.3.15 이하

    해결 버전

    해결된 버전 정보가 없습니다.

참고 자료 2건

‹ 목록

점검 지원 범위 문의

도입 문의