CVE-2021-41282 diag_routes.php in pfSense 2.5.2 allows sed data injection. Authenticated users are intended to be…
설명
diag_routes.php in pfSense 2.5.2 allows sed data injection. Authenticated users are intended to be able to view data about the routes set in the firewall. The data is retrieved by executing the netstat utility, and then its output is parsed via the sed utility. Although the common protection mechanisms against command injection (i.e., the usage of the escapeshellarg function for the arguments) are used, it is still possible to inject sed-specific code and write an arbitrary file in an arbitrary location.
pfSense 2.5.2에서 diag_routes.php는 sed 데이터 주입을 허용합니다. 인증된 사용자는 방화벽에 설정된 경로에 대한 데이터를 볼 수 있습니다. 데이터는 netstat 유틸리티를 실행하여 검색한 다음, sed 유틸리티를 통해 출력을 파싱합니다. 명령 주입(즉, 인수에 대한 이스케이프셀러그 함수의 사용)에 대한 일반적인 보호 메커니즘이 사용되지만, 여전히 sed-specific 코드를 주입하고 임의의 위치에 임의의 파일을 작성하는 것이 가능하다.
영향 받는 제품 제품 1개
-
NVD 기준
pfsense
pfsense
영향 받는 버전
- 2.5.2
해결 버전
해결된 버전 정보가 없습니다.
참고 자료 4건
- packetstormsecurity.com http://packetstormsecurity.com/files/166208/pfSense-2.5.2-Shell-Upload.html (새 창)
- docs.netgate.com https://docs.netgate.com/pfsense/en/latest/releases/22-01_2-6-0.html (새 창)
- shielder.it https://www.shielder.it/advisories/ (새 창)
- shielder.it https://www.shielder.it/advisories/pfsense-remote-command-execution/ (새 창)