No Image

openssl Alternative chains certificate forgery (CVE-2015-1793)

2015-07-22 KENNETH 0

  출처 : http://openssl.org/news/secadv_20150709.txt 엇.. 언제 이런 이슈가 나왔지??? 하고 뒤늦게 알게 된후.. centos6 centos7 모두 업데이트 기록을 조사해 봤으나 관련 이슈로 업데이트 된 기록이 없음.. 자세히 살펴보니 1.0.2c, 1.0.2b, 1.0.1n, 1.0.1o 이렇게 4가지 버전만 해당된다고… 다행인지 centos는 해당 버전을 사용하지 않기 때문에 비껴감.. ㅋㅋㅋ   원문 OpenSSL Security Advisory [9 Jul 2015] ======================================= Alternative chains certificate forgery (CVE-2015-1793) ====================================================== Severity: High During certificate verification, OpenSSL (starting from version 1.0.1n and 1.0.2b) will attempt to find an alternative certificate chain if the first attempt to build such a chain fails. An error in the implementation of this logic can mean that an attacker could cause certain checks on untrusted certificates to be bypassed, such as the CA flag, enabling them to use a valid leaf certificate to act as a CA and “issue” an invalid certificate. This issue will impact any [ more… ]

No Image

eAccelerator 설치 및 연동

2015-07-21 KENNETH 0

1. 다운로드 공식사이트 : http://eaccelerator.net 다운로드페이지 : https://github.com/eaccelerator/eaccelerator/tarball/master (2015/07/20 기준) 메뉴얼 : https://github.com/eaccelerator/eaccelerator/wiki   2. 설치 wget https://github.com/eaccelerator/eaccelerator/tarball/master tar zxvpf eaccelerator*tar.gz cd eaccelerator-* phpize ./configure –enable-shared –with-php-config=/usr/local/bin/php-config make cp modules/eaccelerator.so /usr/local/lib/php/extensions/   3. 설정 php.ini 파일에 아래내용 추가 (extension_dir = “/usr/local/lib/php/extensions” 상황을 가정함) extension=eaccelerator.so eaccelerator.shm_size=”16″ eaccelerator.cache_dir=”/tmp/eaccelerator” eaccelerator.enable=”1″ eaccelerator.optimizer=”1″ eaccelerator.check_mtime=”1″ eaccelerator.debug=”0″ eaccelerator.filter=”” eaccelerator.shm_ttl=”0″ eaccelerator.shm_prune_period=”0″ eaccelerator.shm_only=”0″   4. 디렉토리 생성 원래는 eaccelerator.cache_dir 항목에 설정해준 디렉토리를 생성하라고 설명되어 있으나.. 내가 설치했던 42067ac (출력버넌 1.0-dev)버전에서는 디렉토리를 생성하지 않아도 아파치 재시작후 알아서 생성되는것을 확인할 수 있었다. * 디렉토리 구조 # ls -al /tmp/eaccelerator/99/ total 72 drwx—— 18 nobody nobody 4096 Jul 19 21:30 . drwxrwxrwx 3 root root 4096 Jul 19 21:30 .. drwx—— 18 nobody nobody 4096 Jul 19 21:30 0 drwx—— 18 nobody nobody 4096 Jul 19 21:30 1 drwx—— 18 nobody nobody 4096 Jul 19 21:30 2 drwx—— 18 nobody nobody 4096 Jul 19 21:30 3 drwx—— 18 [ more… ]

No Image

php + xcache 설치 및 연동

2015-07-20 KENNETH 0

Install XCache   1. 다운로드 공식사이트 : http://xcache.lighttpd.net 다운로드페이지 : http://xcache.lighttpd.net/wiki/ReleaseArchive (2015/07/20 기준) Latest Stable Release: 3.2.x (full 5.1 ~ 5.6 support) Old Stable Release: 3.1.x (full 5.1 ~ 5.4 support) 이렇게 되어있으므로 최신 버전을 사용하는 분들은 그냥 latest를 사용하심 되겠다.   2. 설치 wget http://xcache.lighttpd.net/pub/Releases/3.2.0/xcache-3.2.0.tar.gz tar zxvpf xcache-3.2.0.tar.gz cd xcache-3.2.0 phpize ./configure –enable-xcache’ ‘–with-php-config=/usr/local/bin/php-config’ ‘–enable-xcache-coverager make cp modules/xcache.so /usr/local/lib/php/extensions/ mkdir /home/ADMIN cp -rv htdocs /home/ADMIN/xcache   3. 설정 php.ini 에 아래내용 추가 (extension_dir = “/usr/local/lib/php/extensions” 상황을 가정함) 참고로 관리자 모드를 사용하지 않는다면 xcache.admin.X 관련 항목은 설정하지 않아도 되며.. xcache.admin.pass 에는 md5 인코딩 값이 들어가기 때문에.. 적절히 생성…. php python 뭐 대충 이렇게…   php -i|grep xcache 결과가 위에 설정한 내용들로 죽 나온다거나.. <?phpinfo();?> 내용에 xcache 관련 내용이 포함되어 있다면 정상적으로 로딩된 것.   4. 관리자 화면   * 아파치 설정 Alias /xcache /home/ADMIN/xcache * 접속 http://youripaddress/xcache

No Image

XE 1.8.6 release

2015-07-13 KENNETH 0

출처 : https://www.xpressengine.com/devlog/23043495 XE-1.8.6 버전이 업데이트 되었습니다. 1.8.5 부터 빠르게 패치가 나오고 있는듯 하네요.. 눈에 띄는것은 – 보안취약점 하나 – XEDITION 테마의 슬라이드문제 지난번엔 슬라이드 비활성화가 안되는 문제가 있었는데 이번에는 슬라이드 이미지 적용이 안되는 문제가 있었네요   다운로드 및 변경내역 정리 http://www.xpressengine.com/?mid=download&package_srl=18325662

No Image

Fatal error: Call to undefined function session_register() on php-5.4

2015-07-07 KENNETH 0

error messag : Fatal error: Call to undefined function session_register() 참고 : http://php.net/manual/en/function.session-register.php 내용에 따라 5.4부터는 session_register 함수를 사용할 수 없음 session_register(”username”);  형태의 함수를 5.4 이상에서는 $_SESSION[’username’]=”kekkeekekek”; 뭐 이런 형태로 사용해야 한다고…