1. 자유게시판
  2. 스마트폰 질문과 답
  3. 사용자 팁/사용기
  4. 아무거나 질문답
  5. 토론의 장
  6. 방명록

  1. 자유게시판
  2. 스마트폰 질문과 답
  3. 사용자 팁/사용기
  4. 아무거나 질문답
  5. 토론의 장
  6. 방명록
    오늘: 1   어제: 1   전체: 11671960  

생일 축하해요

  • 04월25일
    박영록
  • 04월25일
    id: 김지철
  • 04월25일
    Bryant
  • 04월25일
    정진석
  • 04월25일
    이승룡
  • 04월25일
    고혁준
  • 04월25일
    자장범벅
  • 04월25일
    실수로백억
  • 04월25일
    원사마파더
  • 04월25일
    주서

  로그인한 사람


조회 수 282129 추천 수 0 댓글 0
?

단축키

Prev이전 문서

Next다음 문서

+ - Up Down Comment Print 수정 삭제
?

단축키

Prev이전 문서

Next다음 문서

+ - Up Down Comment Print 수정 삭제
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

=============================================================================
FreeBSD-SA-05:02.sendfile                                   Security Advisory
                                                          The FreeBSD Project

Topic:          sendfile kernel memory disclosure

Category:       core
Module:         sys_kern
Announced:      2005-04-04
Credits:        Sven Berkvens <sven@berkvens.net>
                Marc Olzheim <zlo@zlo.nu>
Affects:        All FreeBSD 4.x releases
                All FreeBSD 5.x releases prior to 5.4-RELEASE
Corrected:      2005-04-04 23:52:02 UTC (RELENG_5, 5.4-STABLE)
                2005-04-04 23:52:35 UTC (RELENG_5_4, 5.4-RELEASE)
                2005-04-04 23:53:24 UTC (RELENG_5_3, 5.3-RELEASE-p7)
                2005-04-04 23:53:36 UTC (RELENG_4, 4.11-STABLE)
                2005-04-04 23:53:56 UTC (RELENG_4_11, 4.11-RELEASE-p2)
                2005-04-04 23:54:13 UTC (RELENG_4_10, 4.10-RELEASE-p7)
                2005-04-04 23:54:33 UTC (RELENG_4_8, 4.8-RELEASE-p29)
CVE Name:       CAN-2005-0708

For general information regarding FreeBSD Security Advisories, including descriptions of the fields above, security branches, and the following sections, please visit <URL:http://www.freebsd.org/security/>.

I.   Background

The sendfile(2) system call allows a server application (such as an HTTP or FTP server) to transmit the contents of a file over a network connection without first copying it to application memory.  High performance servers such as Apache and ftpd use sendfile.

II.  Problem Description

If the file being transmitted is truncated after the transfer has started but before it completes, sendfile(2) will transfer the contents of more or less random portions of kernel memory in lieu of the missing part of the file.

III. Impact

A local user could create a large file and truncate it while transferring it to himself, thus obtaining a copy of portions of system memory to which he would normally not have access.  Such memory might contain sensitive information, such as portions of the file cache or terminal buffers.  This information might be directly useful, or it might be leveraged to obtain elevated privileges in some way.  For example, a terminal buffer might include a user-entered password.

IV.  Workaround

No known workaround.

V.   Solution

Perform one of the following:

1) Upgrade your vulnerable system to 4-STABLE or 5-STABLE, or to the RELENG_5_3, RELENG_4_11, RELENG_4_10, or RELENG_4_8 security branch dated after the correction date.

2) To patch your present system:

The following patches have been verified to apply to FreeBSD 4.8, 4.10, 4.11, and 5.3 systems.

a) Download the relevant patch from the location below, and verify the detached PGP signature using your PGP utility.

[FreeBSD 4.x]
# fetch ftp://ftp.FreeBSD.org/pub/FreeBSD/CERT/patches/SA-05:02/sendfile_4.patch
# fetch ftp://ftp.FreeBSD.org/pub/FreeBSD/CERT/patches/SA-05:02/sendfile_4.patch.asc

[FreeBSD 5.3]
# fetch ftp://ftp.FreeBSD.org/pub/FreeBSD/CERT/patches/SA-05:02/sendfile_5.patch
# fetch ftp://ftp.FreeBSD.org/pub/FreeBSD/CERT/patches/SA-05:02/sendfile_5.patch.asc

b) Apply the patch.

# cd /usr/src
# patch < /path/to/patch

c) Recompile your kernel as described in <URL:http://www.freebsd.org/handbook/kernelconfig.html> and reboot the system.

VI.  Correction details

The following list contains the revision numbers of each file that was corrected in FreeBSD.

Branch                                                           Revision
  Path
- -------------------------------------------------------------------------
RELENG_4
  src/sys/ufs/ffs/ffs_inode.c                                    1.56.2.6
RELENG_4_11
  src/UPDATING                                              1.73.2.91.2.3
  src/sys/conf/newvers.sh                                   1.44.2.39.2.6
  src/sys/ufs/ffs/ffs_inode.c                               1.56.2.5.12.1
RELENG_4_10
  src/UPDATING                                              1.73.2.90.2.8
  src/sys/conf/newvers.sh                                   1.44.2.34.2.8
  src/sys/ufs/ffs/ffs_inode.c                               1.56.2.5.10.1
RELENG_4_8
  src/UPDATING                                             1.73.2.80.2.33
  src/sys/conf/newvers.sh                                  1.44.2.29.2.29
  src/sys/ufs/ffs/ffs_inode.c                                1.56.2.5.6.1
RELENG_5
  src/sys/ufs/ffs/ffs_inode.c                                    1.93.2.2
RELENG_5_4
  src/UPDATING                                             1.342.2.24.2.1
  src/sys/ufs/ffs/ffs_inode.c                                1.93.2.1.2.1
RELENG_5_3
  src/UPDATING                                            1.342.2.13.2.10
  src/sys/conf/newvers.sh                                  1.62.2.15.2.12
  src/sys/ufs/ffs/ffs_inode.c                                    1.93.4.1
- -------------------------------------------------------------------------

The latest revision of this advisory is available at ftp://ftp.freebsd.org/pub/CERT/advisories/FreeBSD-SA-05:02.sendfile.asc
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (FreeBSD)

iD8DBQFCUdSBFdaIBMps37IRAkJQAJ9jiw22zHygE8ui8ksl3T5jo12L6gCgkq5i
CYhVGcVxiWOU9Yu1Muwi1Xw=
=83NE
-----END PGP SIGNATURE-----

List of Articles
번호 제목 글쓴이 날짜 조회 수
공지 보이콧 재팬 Boycott Japan file id: 동글래미 2019.07.20 45701
37524 FreeBSD Security Advisory FreeBSD-SA-05:07.ldt mostech 2005.05.11 1333533
37523 "StartPDA 8월 소식입니다. " 이젠 내리시죠. 7 이영박 2008.09.07 739215
37522 제가 자주 가는 사이트가 해킹당했군요 ㅡ.ㅡ 3 NorthPole 2005.02.01 299692
» FreeBSD Security Advisory FreeBSD-SA-05:02.sendfile mostech 2005.04.14 282129
37520 노무현 전 대통령의 서거, 삼가 고인의 명복을 빕니다. 45 id: 동글래미 2009.05.23 231686
37519 FreeBSD Security Advisory FreeBSD-SA-05:06.iir [REVISED] mostech 2005.05.11 192132
37518 FreeBSD Security Advisory FreeBSD-SA-05:06.iir [REVISED] mostech 2005.05.11 139576
37517 FreeBSD Security Advisory FreeBSD-SA-05:07.ldt mostech 2005.05.11 138368
37516 위닉스 제습기 체험단 모집하네요. 1 file id: 인조인간1호 2008.06.11 130721
37515 FreeBSD Security Advisory FreeBSD-SA-05:02.sendfile mostech 2005.04.14 93044
37514 [공유] 나는 꼼수다 전편 공유~~ 항상 최신판 올려둡니다~ 22 file id: 동글래미 2011.11.28 80800
37513 이런 상단바 어때요? 14 file id: 동글래미 2013.10.15 76235
37512 갤럭시S2 HD LTE 루팅 성공.. 148 file id: 동글래미 2011.11.04 66232
37511 (완료) 갤럭시액티브 입양하실분 계실지요? 3 Leaper 2014.01.26 60910
37510 필요하신분 계신 가요..좋은 PS1 게임 롬 사이트.. 5 니카 2010.02.14 53729
37509 옴니아 14일쓰고 취소해주겟스... 4 id: 제라드 2008.11.20 50885
37508 외장 sata하드 케이스 추천바랍니다. 5 id: wHITE 2008.09.24 50854
37507 [Anycall] M4500용 Anycall Tweak v0.04 - 벨소리프리/슬라이드 44 file 동글래미 2006.10.28 40769
37506 FreeBSD Security Advisory FreeBSD-SA-05:08.kmem 2 mostech 2005.05.11 39602
37505 스피 카톡방 안내입니다. 6 id: 동글래미 2014.03.08 37352
37504 [공구] 갤럭시노트 악세서리 공구 예정 안내 16 id: 동글래미 2011.12.31 32407
37503 옵티머스LTE2 강력 추천합니다~~~ 18 id: 동글래미 2012.08.02 32292
37502 [테스트부탁] 아직 확실하진 않지만 일부 HD2 안드로이드에서 GPS가 느리게 잡히는 문제를 해결한 것 같습니다. 63 id: Celes 2011.04.18 31447
37501 아수스 비보탭 노트 8 며칠 써본 감상... (필기를 주로 하는 입장에서) 6 file id: Celes 2014.03.22 31344
37500 [부산맛집] 온천장 천일탕옆 윗길 - 대길갈비 3 file mostech 2004.10.06 28635
37499 혹시 저처럼 원노트로 필기하는 태블릿PC유저분들을 위한 선물 6 file id: Celes 2010.05.13 26989
37498 갤럭시S3 유저 손 들어보삼!!!!!!! 39 id: 동글래미 2012.08.15 26590
37497 SKT요금제 변경 시 주의사항 11 id: wHITE 2011.07.29 24112
37496 LG G2 루팅+하단소프트키 높이 조절된 화면입니다~ 16 file id: 동글래미 2013.09.01 23567
Board Pagination ‹ Prev 1 2 3 4 5 6 7 8 9 10 ... 1251 Next ›
/ 1251

나눔글꼴 설치 안내


이 PC에는 나눔글꼴이 설치되어 있지 않습니다.

이 사이트를 나눔글꼴로 보기 위해서는
나눔글꼴을 설치해야 합니다.

설치 취소

Designed by sketchbooks.co.kr / sketchbook5 board skin

Sketchbook5, 스케치북5

Sketchbook5, 스케치북5

Sketchbook5, 스케치북5

Sketchbook5, 스케치북5