Changeset 1529

Show
Ignore:
Timestamp:
01/16/08 15:35:49 (8 months ago)
Author:
jose
Message:

[phoneyc]
found an exploit for QvodCtrl? at SecFocus?, add.
fix:
- add CLSID for QvodCtrl?
- look for URL and url - XXX case independent handling of methods etc?
- proper length check
- object instantiation can be done with name, not just id

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • phoneyc/trunk/ActiveX.py

    r1528 r1529  
    5050        self.clsid['E9880553-B8A7-4960-A668-95C68BED571E'] = MacrovisionFlexNet() 
    5151        self.clsid['A86934DA-C3D6-4C1C-BD83-CA4F14B362DE'] = PTZCamPanel() 
     52        self.clsid['F3D0D36F-23F8-4682-A195-74C92B03D4AF'] = QvodCtrl() 
    5253 
    5354        self.clsname = {} 
  • phoneyc/trunk/honeyclient.py

    r1523 r1529  
    603603                    for i, j in attrs: 
    604604                        if i == 'id': obj_id = j 
     605                        if i == 'name': obj_id = j 
    605606                    obj = self.a.get_obj_by_clsid(v) 
    606607                    if not obj:  
  • phoneyc/trunk/modules/jscript/QvodCtrl.js

    r1528 r1529  
    66    p = p.toUpperCase(); 
    77    if (p == 'URL') { 
    8         if (newv.length > 1024) { 
     8        if (newv.length > 800) { 
    99            add_alert('Qvod Player QvodCtrl Class ActiveX Control overflow in URL property'); 
    1010        } 
     
    1414function QvodCtrl() { 
    1515    this.url = ''; 
     16    this.URL = ''; 
    1617    this.watch('url', check_property_attr); 
     18    this.watch('URL', check_property_attr); 
    1719}